浏览代码

test: remove extra args in TestExitCode

The extra blank argument isn't needed and confuses libvirt.
Josh Poimboeuf 11 年之前
父节点
当前提交
4b80ec9aae
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      integration/container_test.go

+ 2 - 2
integration/container_test.go

@@ -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)