From 9ca91f695215b1e8eb835345178570798db8ecd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Sun, 17 Oct 2021 17:14:28 +0200 Subject: Explicit test for maildir --- pkg/config/yaml_test.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'pkg') 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 +} -- cgit v1.2.3