Browse Source

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

Xiaoxu Chen 9 years ago
parent
commit
1db161768c
1 changed files with 2 additions and 1 deletions
  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")