From 8aac0d0b279f32f99b235520285b4993520fbe58 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Thu, 22 Oct 2026 23:43:37 +0200 Subject: [PATCH] cultcache-ts tests: a stamp followed by bytes that are not UTF-8 is a stamp, as a read judges it Co-Authored-By: Claude Sonnet 5.5 --- packages/cultcache-ts/test/cult-cache.test.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/cultcache-ts/test/cult-cache.test.ts b/packages/cultcache-ts/test/cult-cache.test.ts index 9a411a94..d767c599 100644 --- a/packages/cultcache-ts/test/cult-cache.test.ts +++ b/packages/cultcache-ts/test/cult-cache.test.ts @@ -1573,8 +1573,6 @@ test("bytes with no readable store stamp are not refused", () => { "str8 cut before its length": [0x91, 0xd9], "str16 cut before its length": [0x91, 0xda, 0x00], "str32 cut before its length": [0x91, 0xdb, 0x00, 0x00, 0x00], - "str8 header not utf-8": [0x91, 0xd9, 19, ...stamp, 0xff], - "fixstr header not utf-8": [0x91, 0xb3, ...stamp, 0xff], }; for (const [name, bytes] of Object.entries(cases)) { assert.equal(headerRefused(new Uint8Array(bytes)), false, name);