diff --git a/integration-cli/docker_api_events_test.go b/integration-cli/docker_api_events_test.go index 8ae7bf737f..d6f2609f89 100644 --- a/integration-cli/docker_api_events_test.go +++ b/integration-cli/docker_api_events_test.go @@ -4,6 +4,7 @@ import ( "net/http" "time" + "github.com/docker/docker/pkg/integration/checker" "github.com/go-check/check" ) @@ -21,8 +22,8 @@ func (s *DockerSuite) TestEventsApiEmptyOutput(c *check.C) { select { case r := <-chResp: - c.Assert(r.err, check.IsNil) - c.Assert(r.resp.StatusCode, check.Equals, http.StatusOK) + c.Assert(r.err, checker.IsNil) + c.Assert(r.resp.StatusCode, checker.Equals, http.StatusOK) case <-time.After(3 * time.Second): c.Fatal("timeout waiting for events api to respond, should have responded immediately") }