From 2865d22365e7c9cab898139cc4b15f7b7d10fee4 Mon Sep 17 00:00:00 2001 From: Gabriel Silva Bueno Date: Wed, 10 Jul 2024 11:28:51 -0300 Subject: [PATCH] Update pkg/utils/utils_test.go Co-authored-by: Fergal Mc Carthy --- pkg/utils/utils_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/utils/utils_test.go b/pkg/utils/utils_test.go index 1608923..8ff8ea8 100644 --- a/pkg/utils/utils_test.go +++ b/pkg/utils/utils_test.go @@ -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)