Skip to content

Commit eb28dde

Browse files
authored
Merge pull request moby#25518 from yuexiao-wang/add-debug-info
add more info for debugging
2 parents 91853e4 + 5882a9e commit eb28dde

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

integration-cli/docker_cli_build_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ func (s *DockerSuite) TestBuildHandleEscapes(c *check.C) {
302302
}
303303

304304
if _, ok := result["bar"]; !ok {
305-
c.Fatal("Could not find volume bar set from env foo in volumes table")
305+
c.Fatalf("Could not find volume bar set from env foo in volumes table, got %q", result)
306306
}
307307

308308
deleteImages(name)
@@ -325,7 +325,7 @@ func (s *DockerSuite) TestBuildHandleEscapes(c *check.C) {
325325
}
326326

327327
if _, ok := result["${FOO}"]; !ok {
328-
c.Fatal("Could not find volume ${FOO} set from env foo in volumes table")
328+
c.Fatalf("Could not find volume ${FOO} set from env foo in volumes table, got %q", result)
329329
}
330330

331331
deleteImages(name)
@@ -352,7 +352,7 @@ func (s *DockerSuite) TestBuildHandleEscapes(c *check.C) {
352352
}
353353

354354
if _, ok := result[`\\\${FOO}`]; !ok {
355-
c.Fatal(`Could not find volume \\\${FOO} set from env foo in volumes table`, result)
355+
c.Fatalf(`Could not find volume \\\${FOO} set from env foo in volumes table, got %q`, result)
356356
}
357357

358358
}

0 commit comments

Comments
 (0)