diff --git a/lib/model/model_test.go b/lib/model/model_test.go index dee19257..828437cc 100644 --- a/lib/model/model_test.go +++ b/lib/model/model_test.go @@ -1287,6 +1287,18 @@ func TestUnifySubs(t *testing.T) { []string{}, []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" {