Skip to content

Commit b264b22

Browse files
committed
expected error on SignCommandLocalFlag has changed
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
1 parent 3229998 commit b264b22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/command/trust/sign_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,6 @@ func TestSignCommandLocalFlag(t *testing.T) {
304304
cmd := newSignCommand(cli)
305305
cmd.SetArgs([]string{"--local", "reg-name.io/image:red"})
306306
cmd.SetOutput(ioutil.Discard)
307-
assert.ErrorContains(t, cmd.Execute(), "error during connect: Get /images/reg-name.io/image:red/json: unsupported protocol scheme")
307+
assert.ErrorContains(t, cmd.Execute(), "error contacting notary server: dial tcp: lookup reg-name.io")
308308

309309
}

0 commit comments

Comments
 (0)