浏览代码

Merge pull request #25518 from yuexiao-wang/add-debug-info

add more info for debugging
Alexander Morozov 9 年之前
父节点
当前提交
eb28dde01f
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      integration-cli/docker_cli_build_test.go

+ 3 - 3
integration-cli/docker_cli_build_test.go

@@ -302,7 +302,7 @@ func (s *DockerSuite) TestBuildHandleEscapes(c *check.C) {
 	}
 
 	if _, ok := result["bar"]; !ok {
-		c.Fatal("Could not find volume bar set from env foo in volumes table")
+		c.Fatalf("Could not find volume bar set from env foo in volumes table, got %q", result)
 	}
 
 	deleteImages(name)
@@ -325,7 +325,7 @@ func (s *DockerSuite) TestBuildHandleEscapes(c *check.C) {
 	}
 
 	if _, ok := result["${FOO}"]; !ok {
-		c.Fatal("Could not find volume ${FOO} set from env foo in volumes table")
+		c.Fatalf("Could not find volume ${FOO} set from env foo in volumes table, got %q", result)
 	}
 
 	deleteImages(name)
@@ -352,7 +352,7 @@ func (s *DockerSuite) TestBuildHandleEscapes(c *check.C) {
 	}
 
 	if _, ok := result[`\\\${FOO}`]; !ok {
-		c.Fatal(`Could not find volume \\\${FOO} set from env foo in volumes table`, result)
+		c.Fatalf(`Could not find volume \\\${FOO} set from env foo in volumes table, got %q`, result)
 	}
 
 }