소스 검색

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()
 	stdout, stdoutPipe := io.Pipe()
 	c1 := make(chan struct{})
 	c1 := make(chan struct{})
 	go func() {
 	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)
 		close(c1)
 	}()
 	}()