aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/ir_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-06-04 19:43:50 +0900
committerOphestra <cat@gensokyo.uk>2026-06-04 19:46:36 +0900
commit8e8410ce3850a34d8b79431eb89ce4a7b9f89a60 (patch)
tree7de96628652c65d149c4e1d09306145a298844ad /internal/pkg/ir_test.go
parent8fb6fdaa80e793928f80c45d058aa5aebf79e78b (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.go2
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 {