浏览代码

Update the tests according to the "optional raw mode" changes

Louis Opter 12 年之前
父节点
当前提交
e9a68801ba
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      commands_test.go

+ 1 - 1
commands_test.go

@@ -105,7 +105,7 @@ func TestRunExit(t *testing.T) {
 	stdout, stdoutPipe := io.Pipe()
 	c1 := make(chan struct{})
 	go func() {
-		srv.CmdRun(stdin, stdoutPipe, "-i", GetTestImage(runtime).Id, "/bin/cat")
+		srv.CmdRun(stdin, rcli.NewDockerLocalConn(stdoutPipe), "-i", GetTestImage(runtime).Id, "/bin/cat")
 		close(c1)
 	}()