瀏覽代碼

Replace '%s' in create tests

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

+ 1 - 1
integration-cli/docker_cli_create_test.go

@@ -107,7 +107,7 @@ func TestCreateEchoStdout(t *testing.T) {
 	errorOut(err, t, out)
 
 	if out != "test123\n" {
-		t.Errorf("container should've printed 'test123', got '%s'", out)
+		t.Errorf("container should've printed 'test123', got %q", out)
 	}
 
 	deleteAllContainers()