mirror of https://github.com/docker/cli.git
TestRunLabel: pass detach as argument
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
e5760891ab
commit
eb1b4b83c9
|
@ -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