diff options
Diffstat (limited to 'test/pdf.zig')
| -rw-r--r-- | test/pdf.zig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/pdf.zig b/test/pdf.zig index 1b2f2829..da1cb45d 100644 --- a/test/pdf.zig +++ b/test/pdf.zig @@ -2197,7 +2197,7 @@ test "a PDF's jumps: Back after a far jump returns to the exact offset, two plac try std.testing.expectEqual(n, p.jumps.n); } -test "a PDF's jumps: JumpScope file keeps to the PDF, and a closed PDF reopens at its place" { +test "a PDF's jumps keep to the PDF, and a closed PDF reopens at its place" { if (!pdf_enabled) return error.SkipZigTest; // Recent keeps a file by the path it was opened as: a real one here, // as a Look opens one. @@ -2208,7 +2208,6 @@ test "a PDF's jumps: JumpScope file keeps to the PDF, and a closed PDF reopens a const p = try Pardes.init(std.testing.allocator, .{ .file = path, .cols = 80, .rows = 28 }); defer p.deinit(); p.frontend.native_images = true; - try std.testing.expectEqual(config.Runtime.JumpScope.file, p.settings.jump_scope); const doc = p.active; const pane = p.panes[doc].?; try jumpFrame(p); |
