unifySubs: add two trivial test cases

This commit is contained in:
Michael Ploujnikov 2016-04-10 02:41:28 +00:00 committed by Audrius Butkevicius
parent 6355a7019b
commit 7533a61203

View File

@ -1287,6 +1287,18 @@ func TestUnifySubs(t *testing.T) {
[]string{}, []string{},
[]string{".stfolder", ".stignore", "foo"}, []string{".stfolder", ".stignore", "foo"},
}, },
{
// 8. explicit request to scan all
nil,
[]string{"foo"},
nil,
},
{
// 9. empty list of subs
[]string{},
[]string{"foo"},
nil,
},
} }
if runtime.GOOS == "windows" { if runtime.GOOS == "windows" {