瀏覽代碼

update docker_cli_login_test.go
part of #16756

Signed-off-by: Xiaoxu Chen <chenxiaoxu14@otcaix.iscas.ac.cn>

Xiaoxu Chen 9 年之前
父節點
當前提交
75bc0c064b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      integration-cli/docker_cli_login_test.go

+ 1 - 1
integration-cli/docker_cli_login_test.go

@@ -16,6 +16,6 @@ func (s *DockerSuite) TestLoginWithoutTTY(c *check.C) {
 
 
 	// run the command and block until it's done
 	// run the command and block until it's done
 	err := cmd.Run()
 	err := cmd.Run()
-	c.Assert(err, checker.NotNil, check.Commentf("Expected non nil err when loginning in & TTY not available"))
+	c.Assert(err, checker.NotNil) //"Expected non nil err when loginning in & TTY not available"
 
 
 }
 }