diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-04 23:34:07 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 01:02:08 -0300 |
| commit | 22643b1a1f37f9bf8cc1fcd4a80fb0876b9a0ff9 (patch) | |
| tree | f68d65b34e15bf6096f6c8707f93c73e114efcfc /test | |
| parent | 07447259192dba875cdeb5767927f7512c2595b4 (diff) | |
| download | pardes-22643b1a1f37f9bf8cc1fcd4a80fb0876b9a0ff9.tar.gz pardes-22643b1a1f37f9bf8cc1fcd4a80fb0876b9a0ff9.zip | |
pdf_view.isPath goes, no caller but its own test (deleted: a dump brings a PDF pane back by its state, never by its path's suffix), and Tables' closesAny is the fenceOf test it wrapped
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test')
| -rw-r--r-- | test/panes.zig | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/panes.zig b/test/panes.zig index f472ba81..1e00fa94 100644 --- a/test/panes.zig +++ b/test/panes.zig @@ -2346,19 +2346,11 @@ const PdfTests = struct { const pdf = panes.Pdf.pdf; const Point = panes.Pdf.Point; const Document = panes.Pdf.Document; - const isPath = panes.Pdf.isPath; const State = panes.Pdf.State; const probeWord = panes.Pdf.probeWord; const pointAtGeometry = panes.Pdf.pointAtGeometry; const SectionRows = panes.Pdf.SectionRows; - test "PDF dump paths are recognized independent of MuPDF support" { - try std.testing.expect(isPath("manual.pdf")); - try std.testing.expect(isPath("MANUAL.PDF")); - try std.testing.expect(!isPath("manual.pdf.txt")); - try std.testing.expect(!isPath("pdf")); - } - test "feature-off PDF state is zero-sized" { if (!enabled) try std.testing.expectEqual(@as(usize, 0), @sizeOf(State)); } |
