소스 검색

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