mirror of
https://github.com/morluto/rea.git
synced 2026-12-06 14:59:05 +00:00
test(python): reuse the marshal small tuple fixture (#16975)
This commit is contained in:
1 parent
bff6da7449
commit
cf1d2c0f93
3 files changed
+8
-13
No files matched your search
@@ -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 = {
|
||||
|
||||
Reference in new issue
Block a user