From c8110f1cd9686911bc625162942fae1f176add42 Mon Sep 17 00:00:00 2001 From: devrajmaker <65151886+devrajmaker@users.noreply.github.com> Date: Tue, 5 Oct 2021 13:23:52 +0530 Subject: [PATCH] Update delete_test.go (#1471) --- pkg/kn/commands/source/ping/delete_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kn/commands/source/ping/delete_test.go b/pkg/kn/commands/source/ping/delete_test.go index b0d5621c1..927dd6596 100644 --- a/pkg/kn/commands/source/ping/delete_test.go +++ b/pkg/kn/commands/source/ping/delete_test.go @@ -45,7 +45,7 @@ func TestDeleteWithError(t *testing.T) { out, err := executePingSourceCommand(pingClient, nil, "delete", "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() }