Fix TestBuildWithTabs for go 1.4

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
Alexander Morozov 2014-12-20 20:09:35 -08:00 committed by unclejack
parent 6ac802ecd8
commit a31c14cadc
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}