aboutsummaryrefslogtreecommitdiff
path: root/internal/flatex/decompress_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/flatex/decompress_test.go')
-rw-r--r--internal/flatex/decompress_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/flatex/decompress_test.go b/internal/flatex/decompress_test.go
index c991ea74..e53a6581 100644
--- a/internal/flatex/decompress_test.go
+++ b/internal/flatex/decompress_test.go
@@ -22,13 +22,13 @@ func compressDeflate(t *testing.T, payload []byte) []byte {
return buf.Bytes()
}
-func TestDecompress(t *testing.T) {
+func TestDecompressSized(t *testing.T) {
payload := bytes.Repeat([]byte("golang"), 32)
compressed := compressDeflate(t, payload)
- out, _, err := Decompress(compressed)
+ out, _, err := DecompressSized(compressed, 0)
if err != nil {
- t.Fatalf("Decompress: %v", err)
+ t.Fatalf("DecompressSized: %v", err)
}
defer out.Release()