test: use a non-empty home path

This commit is contained in:
Mariell Hoversholm committed 2024-12-17 15:52:22 +01:00
1 parent 42af3eb768
commit e4aa316bcd
1 file changed
+3 -2
@@ -13,10 +13,11 @@ import (
func TestLocalResolver(t *testing.T) {
resolver := &LocalFolderResolver{
PermittedPrefixes: []string{
"github/testdata",
"/github/testdata",
},
HomePath: "",
HomePath: "/",
}
_, err := resolver.LocalPath("github/testdata")
require.NoError(t, err)