mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 01:50:55 +00:00
Support various target and resource with go-getter
This commit is contained in:
committed by
Yujun Zhang
parent
3a2635bd2d
commit
51b29d7023
@@ -4,6 +4,7 @@
|
||||
package krusty_test
|
||||
|
||||
import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"sigs.k8s.io/kustomize/api/filesys"
|
||||
@@ -21,7 +22,7 @@ func TestEmptyFileSystem(t *testing.T) {
|
||||
if err == nil {
|
||||
t.Fatalf("expected error")
|
||||
}
|
||||
if err.Error() != "'noSuchThing' doesn't exist" {
|
||||
if !strings.Contains(err.Error(), "'noSuchThing' doesn't exist") {
|
||||
t.Fatalf("unexpected error: %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user