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 <noreply@anthropic.com>
This commit is contained in:
parent
a4e70ac4fb
commit
8619883b96
1 changed files with 1 additions and 1 deletions
|
|
@ -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<string, number[]> = {
|
||||
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],
|
||||
|
|
|
|||
Loading…
Reference in a new issue