Kevin Mulvey 10 лет назад
Родитель
Сommit
b235d14ca1
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      gin_integration_test.go

+ 1 - 1
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")
 }