Browse code

Cleaned up integration-cli/docker_api_events_test.go

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

Zachary Jaffee authored on 2015/10/16 01:40:36
Showing 1 changed files
... ...
@@ -4,6 +4,7 @@ import (
4 4
 	"net/http"
5 5
 	"time"
6 6
 
7
+	"github.com/docker/docker/pkg/integration/checker"
7 8
 	"github.com/go-check/check"
8 9
 )
9 10
 
... ...
@@ -21,8 +22,8 @@ func (s *DockerSuite) TestEventsApiEmptyOutput(c *check.C) {
21 21
 
22 22
 	select {
23 23
 	case r := <-chResp:
24
-		c.Assert(r.err, check.IsNil)
25
-		c.Assert(r.resp.StatusCode, check.Equals, http.StatusOK)
24
+		c.Assert(r.err, checker.IsNil)
25
+		c.Assert(r.resp.StatusCode, checker.Equals, http.StatusOK)
26 26
 	case <-time.After(3 * time.Second):
27 27
 		c.Fatal("timeout waiting for events api to respond, should have responded immediately")
28 28
 	}