mirror of https://github.com/docker/cli.git
manual clean of asserts
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
078cbc9c4b
commit
f21276575f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue