diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2021-10-17 17:14:28 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2021-10-18 18:36:04 +0200 |
commit | 9ca91f695215b1e8eb835345178570798db8ecd2 (patch) | |
tree | c44868492f606448c18d480954c41bf367568f88 /pkg/config | |
parent | 2d5e4aa85ae103cdb3059652fda47c87d586484c (diff) | |
download | feed2imap-go-9ca91f695215b1e8eb835345178570798db8ecd2.tar.gz feed2imap-go-9ca91f695215b1e8eb835345178570798db8ecd2.tar.bz2 feed2imap-go-9ca91f695215b1e8eb835345178570798db8ecd2.zip |
Explicit test for maildir
Diffstat (limited to 'pkg/config')
-rw-r--r-- | pkg/config/yaml_test.go | 8 |
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 +} |