diff options
Diffstat (limited to 'test/mode.zig')
| -rw-r--r-- | test/mode.zig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/mode.zig b/test/mode.zig index 463b2748..42e61c79 100644 --- a/test/mode.zig +++ b/test/mode.zig @@ -28,7 +28,6 @@ fn customTag(pane: *pardes.Pane, text: []const u8) !void { test "Mode cycles terminal modes and keeps legacy toggle and custom tags" { const p = try Pardes.init(std.testing.allocator, .{ .tty_only = true, .cols = 100 }); defer p.deinit(); - p.presentation.enabled = false; while (p.nextEffect()) |_| {} const pane = p.panes[0].?; try std.testing.expectEqual(panes.Text.Mode.tty, pane.body.mode); @@ -62,7 +61,6 @@ test "Mode from actual tag Exec preserves parked file and output insert transact for ([_]bool{ false, true }) |normal_tag| { const p = try Pardes.init(std.testing.allocator, .{ .tty_only = true, .cols = 100 }); defer p.deinit(); - p.presentation.enabled = false; const pane = try p.setTestFile("ab\n"); if (output) pane.file.?.output = .{ .from = .search }; try std.testing.expect(std.mem.indexOf(u8, try pardes.tagline.tagText(p, p.scratch.allocator(), pane), " Mode") == null); |
