aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/compress_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/pkg/compress_test.go')
-rw-r--r--internal/pkg/compress_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/pkg/compress_test.go b/internal/pkg/compress_test.go
index 5b542dce..e5e865a4 100644
--- a/internal/pkg/compress_test.go
+++ b/internal/pkg/compress_test.go
@@ -43,7 +43,7 @@ func TestDecompress(t *testing.T) {
&client,
"file:///testdata",
pkg.Checksum{0xfd},
- ), pkg.Gzip), nil, nil, &pkg.ChecksumMismatchError{
+ ), pkg.Gzip), nil, nil, pkg.WNew, &pkg.ChecksumMismatchError{
Got: testdataChecksum,
Want: pkg.Checksum{0xfd},
}},
@@ -52,7 +52,7 @@ func TestDecompress(t *testing.T) {
&client,
"file:///testdata",
testdataChecksum,
- ), pkg.Gzip), ignorePathname, expectsChecksum(sha512.Sum384([]byte{0})), nil},
+ ), pkg.Gzip), ignorePathname, expectsChecksum(sha512.Sum384([]byte{0})), pkg.WNew, nil},
})
}, expectsFS{
".": {Mode: fs.ModeDir | 0700},