manual clean of asserts

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin 2018-03-06 15:49:00 -05:00
parent 078cbc9c4b
commit f21276575f
1 changed files with 1 additions and 1 deletions

View File

@ -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)