mirror of
https://github.com/moby/moby.git
synced 2025-08-01 05:47:11 +03:00
intgration-cli: fix formatting
Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
@ -1064,12 +1064,7 @@ func (s *DockerSuite) TestContainerAPICopyResourcePathEmptyPre124(c *testing.T)
|
||||
}
|
||||
b, err := request.ReadBody(body)
|
||||
assert.NilError(c, err)
|
||||
assert.Assert(c, is.Regexp("^"+
|
||||
|
||||
"Path cannot be empty\n"+
|
||||
"$",
|
||||
|
||||
string(b)))
|
||||
assert.Assert(c, is.Regexp("^Path cannot be empty\n$", string(b)))
|
||||
|
||||
}
|
||||
|
||||
@ -1091,12 +1086,7 @@ func (s *DockerSuite) TestContainerAPICopyResourcePathNotFoundPre124(c *testing.
|
||||
}
|
||||
b, err := request.ReadBody(body)
|
||||
assert.NilError(c, err)
|
||||
assert.Assert(c, is.Regexp("^"+
|
||||
|
||||
("Could not find the file /notexist in container "+name+"\n")+
|
||||
"$",
|
||||
|
||||
string(b)))
|
||||
assert.Assert(c, is.Regexp("^Could not find the file /notexist in container "+name+"\n$", string(b)))
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user