Skip to content

Commit

Permalink
Update pkg/utils/utils_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Fergal Mc Carthy <fmccarthy@suse.com>
  • Loading branch information
gbuenodevsuse and rtamalin authored Jul 10, 2024
1 parent f3c6b55 commit 2865d22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/utils/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ func TestCompressWhenNeeded(t *testing.T) {
if tt.expectCompress {
assert.NotNil(t, compression)
assert.Equal(t, "gzip", *compression)
assert.NotEqual(t, tt.data, compressedData)
} else {
assert.Nil(t, compression)
assert.Equal(t, tt.data, compressedData)
Expand Down

0 comments on commit 2865d22

Please # to comment.