Files

8 lines
183 B
TypeScript
Raw Permalink Normal View History

2026-08-27 21:09:14 +00:00
import { expect, test } from "bun:test";
test("write(value >= 0x80)", () => {
const buffer = Buffer.alloc(1);
buffer.write("\x80", "binary");
expect(buffer[0]).toBe(0x80);
});