diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-04 23:57:01 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 01:02:08 -0300 |
| commit | 96cabca7ebe287692ebdff0dba6bb2897eba9d3e (patch) | |
| tree | fc74379958b5d6763966e4bc7c65e6a08e9ff4d5 /test/mode.zig | |
| parent | b4863573f775c73ca4e9aa233af2f6e5113c06b3 (diff) | |
| download | pardes-96cabca7ebe287692ebdff0dba6bb2897eba9d3e.tar.gz pardes-96cabca7ebe287692ebdff0dba6bb2897eba9d3e.zip | |
pdf: the test PDFs are files under test/pdf-fixtures, byte for byte what the generators wrote, where pdf.zig wrote each object by object (139 lines fewer there): testFixture reads one, the two outlines sized by the bridge's limits stay generated, and the sections bench embeds its outline
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/mode.zig')
| -rw-r--r-- | test/mode.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mode.zig b/test/mode.zig index 40a23fc4..cb618a98 100644 --- a/test/mode.zig +++ b/test/mode.zig @@ -101,7 +101,7 @@ test "Mode leaves image and PDF document modes unchanged" { if (comptime panes.Pdf.enabled) { var tmp = std.testing.tmpDir(.{}); defer tmp.cleanup(); - const bytes = try panes.Pdf.pdf.makeLinksTestPdf(std.testing.allocator); + const bytes = try panes.Pdf.pdf.testFixture(std.testing.allocator, "links.pdf"); defer std.testing.allocator.free(bytes); try tmp.dir.writeFile(std.testing.io, .{ .sub_path = "mode.pdf", .data = bytes }); var buffer: [4096]u8 = undefined; |
