Skip to content

Commit cb5b241

Browse files
committed
modify add resource test to accomodate changes
1 parent 039b05f commit cb5b241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kustomize/commands/edit/add/addresource_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,5 @@ func TestAddResourceFileNotFound(t *testing.T) {
103103
args := []string{resourceFileName}
104104

105105
err := cmd.RunE(cmd, args)
106-
assert.EqualError(t, err, resourceFileName+" has no match: must build at directory: not a valid directory: '"+resourceFileName+"' doesn't exist")
106+
assert.EqualError(t, err, "pattern "+resourceFileName+" has no match: must build at directory: not a valid directory: '"+resourceFileName+"' doesn't exist")
107107
}

0 commit comments

Comments
 (0)