diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-06-04 19:43:50 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-06-04 19:46:36 +0900 |
| commit | 8e8410ce3850a34d8b79431eb89ce4a7b9f89a60 (patch) | |
| tree | 7de96628652c65d149c4e1d09306145a298844ad /internal/pkg/ir_test.go | |
| parent | 8fb6fdaa80e793928f80c45d058aa5aebf79e78b (diff) | |
internal/pkg: archive unpack artifact
This unpacks an internal/pkg archive stream used in the upcoming mirror service.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/ir_test.go')
| -rw-r--r-- | internal/pkg/ir_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/pkg/ir_test.go b/internal/pkg/ir_test.go index 0cb4a6ef..ad6baa76 100644 --- a/internal/pkg/ir_test.go +++ b/internal/pkg/ir_test.go @@ -98,6 +98,8 @@ func TestIRRoundtrip(t *testing.T) { {"file", pkg.NewFile("stub", []byte("stub"))}, {"decompress", pkg.NewDecompress(pkg.NewFile("", []byte{0}), pkg.Bzip2)}, + + {"archive", pkg.NewArchive(pkg.NewFile("", []byte{0}))}, } testCasesCache := make([]cacheTestCase, len(testCases)) for i, tc := range testCases { |
