Forráskód Böngészése

Fix TestBuildWithTabs for go 1.4

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
Alexander Morozov 10 éve
szülő
commit
a31c14cadc
1 módosított fájl, 1 hozzáadás és 1 törlés
  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)
 	}