瀏覽代碼

Merge pull request #14779 from duglin/BetterErrMsg14774

Add better output for TestLinksEtcHostsContentMatch to help debug #14774
Tibor Vass 10 年之前
父節點
當前提交
efd56bbe6f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      integration-cli/docker_cli_links_unix_test.go

+ 1 - 1
integration-cli/docker_cli_links_unix_test.go

@@ -27,7 +27,7 @@ func (s *DockerSuite) TestLinksEtcHostsContentMatch(c *check.C) {
 	}
 	}
 
 
 	if out != string(hosts) {
 	if out != string(hosts) {
-		c.Errorf("container")
+		c.Errorf("container: %s\n\nhost:%s", out, hosts)
 	}
 	}
 
 
 }
 }