mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-30 01:46:23 +00:00
Fix non-travis tests.
This commit is contained in:
@@ -72,8 +72,7 @@ data:
|
||||
if err == nil {
|
||||
t.Fatalf("expected an error")
|
||||
}
|
||||
if !strings.Contains(err.Error(),
|
||||
"data: Invalid type. Expected: object, given: array") {
|
||||
if !strings.Contains(err.Error(), "data: Invalid type.") {
|
||||
t.Fatalf("incorrect error %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user