Browse Source

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

Louis Opter 12 years ago
parent
commit
e9a68801ba
1 changed files with 1 additions and 1 deletions
  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)
 	}()