aboutsummaryrefslogtreecommitdiff
path: root/pkg/config/yaml_test.go
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2021-10-17 17:14:28 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2021-10-18 18:36:04 +0200
commit9ca91f695215b1e8eb835345178570798db8ecd2 (patch)
treec44868492f606448c18d480954c41bf367568f88 /pkg/config/yaml_test.go
parent2d5e4aa85ae103cdb3059652fda47c87d586484c (diff)
downloadfeed2imap-go-9ca91f695215b1e8eb835345178570798db8ecd2.tar.gz
feed2imap-go-9ca91f695215b1e8eb835345178570798db8ecd2.tar.bz2
feed2imap-go-9ca91f695215b1e8eb835345178570798db8ecd2.zip
Explicit test for maildir
Diffstat (limited to '')
-rw-r--r--pkg/config/yaml_test.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkg/config/yaml_test.go b/pkg/config/yaml_test.go
index 78a3243..4f9fe76 100644
--- a/pkg/config/yaml_test.go
+++ b/pkg/config/yaml_test.go
@@ -171,6 +171,12 @@ func TestBuildFeeds(tst *testing.T) {
},
result: Feeds{},
},
+ {name: "Maildir URL Target", wantErr: true, target: "",
+ feeds: []configGroupFeed{
+ {Target: n("maildir:///home/foo/INBOX/Feed"), Feed: feed{Name: "muh"}},
+ },
+ result: Feeds{},
+ },
{name: "Empty Group", wantErr: false, target: "",
feeds: []configGroupFeed{
{Group: group{Group: "G1"}},
@@ -542,4 +548,4 @@ feeds:
tst.Error(diff)
}
}
-} \ No newline at end of file
+}