compare the byte array

This commit is contained in:
Kevin Mulvey 2015-06-02 20:52:33 -04:00
parent da5be64c9f
commit b235d14ca1
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ func TestRun(t *testing.T) {
if ioerr != nil { if ioerr != nil {
t.FailNow() t.FailNow()
} }
assert.Equal(t, "it worked", body, "resp body should match") assert.Equal(t, "it worked", string(body[:]), "resp body should match")
assert.Equal(t, "200 OK", resp.Status, "should get a 200") assert.Equal(t, "200 OK", resp.Status, "should get a 200")
} }