aboutsummaryrefslogtreecommitdiff
path: root/internal/zlibx/decompress_test.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-01-29 20:33:59 +0100
committerGravatar Runxi Yu2026-01-29 20:33:59 +0100
commitdaca6d0eb76a7fc8134de35ddb7a4a1d0e184e0c (patch)
tree681238fcf1f003e193851528992167c3bb97c92d /internal/zlibx/decompress_test.go
parentpacked: Fix message for thin packs not implemented (diff)
signatureNo signature
zlibx: Make DecompressSized return the number of bytes consumed
Diffstat (limited to 'internal/zlibx/decompress_test.go')
-rw-r--r--internal/zlibx/decompress_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/zlibx/decompress_test.go b/internal/zlibx/decompress_test.go
index 2b9f0672..bea348d2 100644
--- a/internal/zlibx/decompress_test.go
+++ b/internal/zlibx/decompress_test.go
@@ -155,7 +155,7 @@ func TestDecompressSizedUsesHint(t *testing.T) {
compressed := compressZlib(t, payload)
const hint = 1 << 20
- out, err := DecompressSized(compressed, hint)
+ out, _, err := DecompressSized(compressed, hint)
if err != nil {
t.Fatalf("DecompressSized: %v", err)
}