1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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

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