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:
parent
6ac802ecd8
commit
a31c14cadc
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue