From 8619883b96a222d4110820c9a5dd6c0d30031340 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 23 Oct 2026 02:01:05 +0200 Subject: [PATCH] cultcache-ts tests: an empty array before a newer stamp is not a stamp Hand mutant T4 (lead >= 0x90) survived; the empty-array case now carries a newer stamp after it. Co-Authored-By: Claude Sonnet 5.5 --- packages/cultcache-ts/test/cult-cache.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cultcache-ts/test/cult-cache.test.ts b/packages/cultcache-ts/test/cult-cache.test.ts index 6f2796e0..11043959 100644 --- a/packages/cultcache-ts/test/cult-cache.test.ts +++ b/packages/cultcache-ts/test/cult-cache.test.ts @@ -2130,7 +2130,7 @@ test("bytes with no readable store stamp are not refused", () => { const stamp = [...Buffer.from("cultcache.store.v4", "utf8")]; const cases: Record = { empty: [], - "empty array": [0x90], + "empty array": [0x90, 0xb2, ...stamp], "empty array16": [0xdc, 0x00, 0x00, 0xb2, ...stamp], "empty array32": [0xdd, 0x00, 0x00, 0x00, 0x00, 0xb2, ...stamp], "array16 cut before its count": [0xdc, 0x00],