Signed-off-by: Zachary Jaffee <zij@case.edu>
| ... | ... |
@@ -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 |