From b235d14ca18ddd0f00e010362ef71b695b213fd1 Mon Sep 17 00:00:00 2001 From: Kevin Mulvey Date: Tue, 2 Jun 2015 20:52:33 -0400 Subject: [PATCH] compare the byte array --- gin_integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gin_integration_test.go b/gin_integration_test.go index 1ec764f..cb12164 100644 --- a/gin_integration_test.go +++ b/gin_integration_test.go @@ -34,7 +34,7 @@ func TestRun(t *testing.T) { if ioerr != nil { 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") }