summaryrefslogtreecommitdiff
path: root/test/behaviour/addons_pdf.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-06 15:58:05 -0300
committerGabriel Schneider <[email protected]>2026-11-06 17:53:43 -0300
commit2ddd5bcbe8d470c00b045af5822418fe429357bc (patch)
tree47d837b2151a7393bdcf5ba362b8c2f6bf457f55 /test/behaviour/addons_pdf.zig
parente9f9f65ace7650a02cee6bf2b2eb466522485834 (diff)
downloadpardes-2ddd5bcbe8d470c00b045af5822418fe429357bc.tar.gz
pardes-2ddd5bcbe8d470c00b045af5822418fe429357bc.zip
kinds #37, tests and docs for ABI 3: the image dump tests reopen from the path (through the same /n/os mount, and a file gone waits saying so until a watch or a Look opens it), the PDF view tests assert the art words in every view and each view told, /addons says 3.0 and a 2.2 fake is refused, reference.typ's Addons section and the changelog say ABI 3
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/behaviour/addons_pdf.zig')
-rw-r--r--test/behaviour/addons_pdf.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/behaviour/addons_pdf.zig b/test/behaviour/addons_pdf.zig
index 60379457..7b92b84c 100644
--- a/test/behaviour/addons_pdf.zig
+++ b/test/behaviour/addons_pdf.zig
@@ -38,7 +38,7 @@ test "addons: a PDF is the pdf addon's pane, its pages pictures, its page in its
s.graphics();
const n = try s.lookFile("docs/design.pdf");
try std.testing.expect(has(try s.read("/index"), " pdf "));
- try std.testing.expect(std.mem.startsWith(u8, try s.read("/addons"), "pdf 1 2.2 1 /"));
+ try std.testing.expect(std.mem.startsWith(u8, try s.read("/addons"), "pdf 1 3.0 1 /"));
const pages = (try s.pdfPage(n))[1];
try std.testing.expectEqual(@as(u32, 16), pages);
// Its first page, a picture over its body.