Fix TestBuildWithTabs for go 1.4
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
parent
6ac802ecd8
commit
a31c14cadc
|
@ -3925,7 +3925,7 @@ func TestBuildWithTabs(t *testing.T) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
expected := "[\"/bin/sh\",\"-c\",\"echo\\u0009one\\u0009\\u0009two\"]"
|
expected := `["/bin/sh","-c","echo\tone\t\ttwo"]`
|
||||||
if res != expected {
|
if res != expected {
|
||||||
t.Fatalf("Missing tabs.\nGot:%s\nExp:%s", res, expected)
|
t.Fatalf("Missing tabs.\nGot:%s\nExp:%s", res, expected)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue