mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
test: remove extra args in TestExitCode
The extra blank argument isn't needed and confuses libvirt.
This commit is contained in:
parent
fef41ef7bf
commit
4b80ec9aae
1 changed files with 2 additions and 2 deletions
|
@ -568,7 +568,7 @@ func TestExitCode(t *testing.T) {
|
|||
|
||||
trueContainer, _, err := runtime.Create(&docker.Config{
|
||||
Image: GetTestImage(runtime).ID,
|
||||
Cmd: []string{"/bin/true", ""},
|
||||
Cmd: []string{"/bin/true"},
|
||||
}, "")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
@ -583,7 +583,7 @@ func TestExitCode(t *testing.T) {
|
|||
|
||||
falseContainer, _, err := runtime.Create(&docker.Config{
|
||||
Image: GetTestImage(runtime).ID,
|
||||
Cmd: []string{"/bin/false", ""},
|
||||
Cmd: []string{"/bin/false"},
|
||||
}, "")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
|
Loading…
Add table
Reference in a new issue