Use getSearchPrefixes for all locators

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar
2022-11-25 14:19:07 +01:00
parent d1a3de7671
commit db962c4bf2
4 changed files with 5 additions and 11 deletions

View File

@@ -34,7 +34,7 @@ func TestExecutableLocator(t *testing.T) {
}{
{
root: "",
expectedPrefixes: nil,
expectedPrefixes: []string{""},
},
{
root: "",
@@ -48,7 +48,7 @@ func TestExecutableLocator(t *testing.T) {
},
{
root: "/",
expectedPrefixes: nil,
expectedPrefixes: []string{"/"},
},
{
root: "/",