浏览代码

update docker_cli_proxy_test.go
Part of #16756
Signed-off-by: Xiaoxu Chen <chenxiaoxu14@otcaix.iscas.ac.cn>

Xiaoxu Chen 9 年之前
父节点
当前提交
1db161768c
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      integration-cli/docker_cli_proxy_test.go

+ 2 - 1
integration-cli/docker_cli_proxy_test.go

@@ -38,7 +38,8 @@ func (s *DockerDaemonSuite) TestCliProxyProxyTCPSock(c *check.C) {
 		}
 	}
 
-	c.Assert(ip, checker.Equals, "")
+	c.Assert(ip, checker.Not(checker.Equals), "")
+
 	err = s.d.Start("-H", "tcp://"+ip+":2375")
 	c.Assert(err, checker.IsNil)
 	cmd := exec.Command(dockerBinary, "info")