mirror of https://github.com/docker/cli.git
Merge pull request #1572 from thaJeztah/minor_test_nit
TestRunLabel: pass detach as argument
This commit is contained in:
commit
308b1f340a
|
@ -23,8 +23,7 @@ func TestRunLabel(t *testing.T) {
|
||||||
Version: "1.36",
|
Version: "1.36",
|
||||||
})
|
})
|
||||||
cmd := NewRunCommand(cli)
|
cmd := NewRunCommand(cli)
|
||||||
cmd.Flags().Set("detach", "true")
|
cmd.SetArgs([]string{"--detach=true", "--label", "foo", "busybox"})
|
||||||
cmd.SetArgs([]string{"--label", "foo", "busybox"})
|
|
||||||
assert.NilError(t, cmd.Execute())
|
assert.NilError(t, cmd.Execute())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue