瀏覽代碼

Cleanup errorOut resp in history test

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
Jessica Frazelle 10 年之前
父節點
當前提交
f7b3a6b292
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      integration-cli/docker_cli_history_test.go

+ 1 - 2
integration-cli/docker_cli_history_test.go

@@ -46,9 +46,8 @@ RUN echo "Z"`,
 	}
 	}
 
 
 	out, exitCode, err := runCommandWithOutput(exec.Command(dockerBinary, "history", "testbuildhistory"))
 	out, exitCode, err := runCommandWithOutput(exec.Command(dockerBinary, "history", "testbuildhistory"))
-	errorOut(err, t, fmt.Sprintf("image history failed: %v %v", out, err))
 	if err != nil || exitCode != 0 {
 	if err != nil || exitCode != 0 {
-		t.Fatal("failed to get image history")
+		t.Fatal("failed to get image history: %s, %v", out, err)
 	}
 	}
 
 
 	actualValues := strings.Split(out, "\n")[1:27]
 	actualValues := strings.Split(out, "\n")[1:27]