Browse code

cleaned up integration-cli/docker_api_exec_resize_test.go

Signed-off-by: Zachary Jaffee <zij@case.edu>

Zachary Jaffee authored on 2015/10/15 23:28:21
Showing 1 changed files
... ...
@@ -9,6 +9,7 @@ import (
9 9
 	"strings"
10 10
 	"sync"
11 11
 
12
+	"github.com/docker/docker/pkg/integration/checker"
12 13
 	"github.com/go-check/check"
13 14
 )
14 15
 
... ...
@@ -19,8 +20,8 @@ func (s *DockerSuite) TestExecResizeApiHeightWidthNoInt(c *check.C) {
19 19
 
20 20
 	endpoint := "/exec/" + cleanedContainerID + "/resize?h=foo&w=bar"
21 21
 	status, _, err := sockRequest("POST", endpoint, nil)
22
-	c.Assert(status, check.Equals, http.StatusInternalServerError)
23
-	c.Assert(err, check.IsNil)
22
+	c.Assert(err, checker.IsNil)
23
+	c.Assert(status, checker.Equals, http.StatusInternalServerError)
24 24
 }
25 25
 
26 26
 // Part of #14845