From f21276575f2679793a0544f40fc518763b0b80a8 Mon Sep 17 00:00:00 2001 From: Daniel Nephin Date: Tue, 6 Mar 2018 15:49:00 -0500 Subject: [PATCH] manual clean of asserts Signed-off-by: Daniel Nephin --- cli/command/trust/sign_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/command/trust/sign_test.go b/cli/command/trust/sign_test.go index e8eb168b8e..514abf2869 100644 --- a/cli/command/trust/sign_test.go +++ b/cli/command/trust/sign_test.go @@ -285,7 +285,7 @@ func TestSignCommandChangeListIsCleanedOnError(t *testing.T) { cmd.SetOutput(ioutil.Discard) err = cmd.Execute() - assert.Assert(t, is.ErrorContains(err, "")) + assert.Assert(t, err != nil) notaryRepo, err := client.NewFileCachedRepository(tmpDir, "docker.io/library/ubuntu", "https://localhost", nil, passphrase.ConstantRetriever(passwd), trustpinning.TrustPinConfig{}) assert.NilError(t, err)