1
0
mirror of https://github.com/docker/cli.git synced 2026-01-26 15:41:42 +03:00

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

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)