summaryrefslogtreecommitdiff
path: root/src/pdf_pane_integration_test.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-18 12:09:12 -0300
committerGabriel Schneider <[email protected]>2026-08-18 23:45:25 -0300
commitc24a9e40215bc30c68c9db7675f1c6a07d9bbae3 (patch)
tree9afdb1f3d128bda3f3cf4837c2893982b0a8f69c /src/pdf_pane_integration_test.zig
parent31fece62f56aa2311e2325de83659edbc9e641db (diff)
downloadpardes-c24a9e40215bc30c68c9db7675f1c6a07d9bbae3.tar.gz
pardes-c24a9e40215bc30c68c9db7675f1c6a07d9bbae3.zip
modal + file_pane: rework editing math and pane behavior, config/syntax additions, unit tests
Diffstat (limited to 'src/pdf_pane_integration_test.zig')
-rw-r--r--src/pdf_pane_integration_test.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pdf_pane_integration_test.zig b/src/pdf_pane_integration_test.zig
index eaebae5e..b290616e 100644
--- a/src/pdf_pane_integration_test.zig
+++ b/src/pdf_pane_integration_test.zig
@@ -111,7 +111,8 @@ test "PdfSections Look follows the exact owning PDF, not an equal path" {
const p = try Pardes.init(gpa, .{ .file = path, .cols = 80, .rows = 28 });
defer p.deinit();
const first = p.panes[0].?;
- pdf_pane.openSections(p, 0);
+ // Bare normal-mode `f` on a PDF dispatches the PdfSections builtin.
+ p.update(.{ .key = .{ .cp = 'f', .text = "f" } });
const first_output_id = first.search_pane orelse return error.MissingPdfSectionsOutput;
const first_output = p.panes[first_output_id].?;
try std.testing.expect(pdf_pane.isSectionsOutput(first_output));