diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-07-08 14:19:17 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-07-08 14:19:17 +0900 |
| commit | 3c6e9b3d0526a9338dc897a8e288647b2ec12b10 (patch) | |
| tree | 11116bbe25971f9e29de627857b599974132f8a3 /internal/pkg/compress_test.go | |
| parent | aa5e77ef277d5cb144e4841f3c1ab41282faac01 (diff) | |
internal/pkg: expose cure whence
Useful for cure determinism validation of KindExec.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/compress_test.go')
| -rw-r--r-- | internal/pkg/compress_test.go | 4 |
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}, |
