소스 검색

Fix TestBuildWithTabs for go 1.4

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
Alexander Morozov 10 년 전
부모
커밋
a31c14cadc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      integration-cli/docker_cli_build_test.go

+ 1 - 1
integration-cli/docker_cli_build_test.go

@@ -3925,7 +3925,7 @@ func TestBuildWithTabs(t *testing.T) {
 	if err != nil {
 		t.Fatal(err)
 	}
-	expected := "[\"/bin/sh\",\"-c\",\"echo\\u0009one\\u0009\\u0009two\"]"
+	expected := `["/bin/sh","-c","echo\tone\t\ttwo"]`
 	if res != expected {
 		t.Fatalf("Missing tabs.\nGot:%s\nExp:%s", res, expected)
 	}