Fix TestBuildWithTabs for go 1.4
Signed-off-by: Alexander Morozov <lk4d4@docker.com> Upstream-commit: a31c14cadca4052a0a141347b322d825f56b814b Component: engine
This commit is contained in:
committed by
unclejack
parent
50a73ae598
commit
bc1cbc1f63
@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user