fix test
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Arnas Udovic 2025-01-12 01:03:47 +02:00
parent 873110f5ce
commit 13ab5b1902

View file

@ -22,6 +22,7 @@ func prepare(t *testing.T) Config {
"__a", "__a",
make(map[string]func() string), make(map[string]func() string),
[]string{"exclude_[0-9]+.bin"}, []string{"exclude_[0-9]+.bin"},
map[string]AppCallback{},
) )
err = PopulateTree("./testdata/sunny1", []string{}, config) err = PopulateTree("./testdata/sunny1", []string{}, config)
@ -38,6 +39,7 @@ func TestFromNotExistingDirectory(t *testing.T) {
"__a", "__a",
make(map[string]func() string), make(map[string]func() string),
[]string{}, []string{},
map[string]AppCallback{},
) )
_, err := BuildTree("./testing/i_dont_exist", []string{}, config) _, err := BuildTree("./testing/i_dont_exist", []string{}, config)