mirror of https://github.com/knative/client.git
Update delete_test.go (#1471)
This commit is contained in:
parent
687f74fba8
commit
c8110f1cd9
|
|
@ -45,7 +45,7 @@ func TestDeleteWithError(t *testing.T) {
|
||||||
|
|
||||||
out, err := executePingSourceCommand(pingClient, nil, "delete", "testsource")
|
out, err := executePingSourceCommand(pingClient, nil, "delete", "testsource")
|
||||||
assert.ErrorContains(t, err, "testsource")
|
assert.ErrorContains(t, err, "testsource")
|
||||||
util.ContainsAll(out, "Usage", "no such", "testsource")
|
assert.Assert(t, util.ContainsAll(out, "Usage", "no such", "testsource"))
|
||||||
|
|
||||||
pingRecorder.Validate()
|
pingRecorder.Validate()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue