test(python): reuse the marshal small tuple fixture (#16975)

This commit is contained in:
Vincent Koc authored and GitHub committed 2026-12-05 15:11:56 +08:00
1 parent bff6da7449
commit cf1d2c0f93
3 files changed
+8 -13

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ const marshalShortAscii = (value: string, interned = false): Buffer =>
u8(Buffer.byteLength(value, "utf8")),
Buffer.from(value, "utf8"),
);
const marshalSmallTuple = (items: Buffer[]): Buffer =>
export const marshalSmallTuple = (items: readonly Buffer[]): Buffer =>
concat(u8(0x29), u8(items.length), ...items);
export type FixtureCodeFields = {