mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
integration-cli: use string-literals for easier grep'ing
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -2258,7 +2258,7 @@ docker.com>"
|
||||
`))
|
||||
|
||||
res := inspectField(c, name, "Author")
|
||||
if res != "\"Docker IO <io@docker.com>\"" {
|
||||
if res != `"Docker IO <io@docker.com>"` {
|
||||
c.Fatalf("Parsed string did not match the escaped string. Got: %q", res)
|
||||
}
|
||||
}
|
||||
@@ -2272,7 +2272,7 @@ func (s *DockerCLIBuildSuite) TestBuildVerifyIntString(c *testing.T) {
|
||||
MAINTAINER 123`))
|
||||
|
||||
out, _ := dockerCmd(c, "inspect", name)
|
||||
if !strings.Contains(out, "\"123\"") {
|
||||
if !strings.Contains(out, `"123"`) {
|
||||
c.Fatalf("Output does not contain the int as a string:\n%s", out)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user