We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc23737 commit 807284bCopy full SHA for 807284b
gzip_test.go
@@ -315,9 +315,9 @@ func TestGzipWithDecompressOnly(t *testing.T) {
315
w := httptest.NewRecorder()
316
r.ServeHTTP(w, req)
317
318
- assert.Equal(t, w.Code, 200)
319
- assert.Equal(t, w.Header().Get(headerContentEncoding), "")
320
- assert.Equal(t, w.Body.String(), testResponse)
+ assert.Equal(t, 200, w.Code)
+ assert.Equal(t, "", w.Header().Get(headerContentEncoding))
+ assert.Equal(t, testResponse, w.Body.String())
321
}
322
323
func TestCustomShouldCompressFn(t *testing.T) {
0 commit comments