Skip to content

Commit

Permalink
adjust gz test
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Apr 2, 2021
1 parent 5530f46 commit 7bafd05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gzip_test.go
Expand Up @@ -38,7 +38,7 @@ func TestGzip(t *testing.T) {
defer resp.Body.Close()
b, err := ioutil.ReadAll(resp.Body)
assert.NoError(t, err)
assert.Equal(t, 355, len(b), "compressed size")
assert.Equal(t, 357, len(b), "compressed size")

gzr, err := gzip.NewReader(bytes.NewBuffer(b))
require.NoError(t, err)
Expand Down

0 comments on commit 7bafd05

Please sign in to comment.