mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-30 01:46:23 +00:00
combine fileLoader.New and NewLoader into one function: NewLoader
This commit is contained in:
@@ -47,7 +47,7 @@ func TestLoader_Root(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatalf("Unexpected in New(): %v\n", err)
|
||||
}
|
||||
if "/home/seans/project/" != loader.Root() {
|
||||
if "/home/seans/project" != loader.Root() {
|
||||
t.Fatalf("Incorrect Loader Root: %s\n", loader.Root())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user