mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-16 18:41:59 -07:00
unifySubs: add two trivial test cases
This commit is contained in:
parent
6355a7019b
commit
7533a61203
@ -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" {
|
||||||
|
Loading…
Reference in New Issue
Block a user