summaryrefslogtreecommitdiff
path: root/test/panes.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/panes.zig')
-rw-r--r--test/panes.zig6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/panes.zig b/test/panes.zig
index 160292a8..5a22e180 100644
--- a/test/panes.zig
+++ b/test/panes.zig
@@ -2210,7 +2210,7 @@ const OutputTests = struct {
try fillResults(p, 0, "/", .{ .query = .hover }, "", try p.gpa.dupe(u8, "short\n"), null);
try std.testing.expectEqualStrings("short\n", result.file.?.content);
- try std.testing.expect(!result.body.vsel.active and !result.body.msel.active and !result.body.select);
+ try std.testing.expect(!result.body.vsel.active and !result.body.select);
try std.testing.expectEqual(@as(u16, 0), result.body.nsel);
try std.testing.expectEqual(@as(i32, 0), result.body.cur_row);
try std.testing.expectEqual(@as(i32, 0), result.body.cur_col);
@@ -2246,7 +2246,7 @@ const OutputTests = struct {
try std.testing.expect(p.drag == .none);
p.update(.{ .mouse = .{ .button = config.select_button, .kind = .release, .col = x + 2, .row = y + 1 } });
for (result.sel) |selection| try std.testing.expectEqual(.none, selection.state);
- try std.testing.expect(!result.body.vsel.active and !result.body.msel.active);
+ try std.testing.expect(!result.body.vsel.active);
}
test "result refill identity retains the full bounded argument" {
@@ -3816,7 +3816,6 @@ const LookResetTests = struct {
pane.body.cur_row = 0;
pane.body.cur_col = 3;
pane.body.vsel = .{ .active = true, .explicit = true, .row = 0, .col = 0 };
- pane.body.msel = .{ .active = true, .r0 = 0, .r1 = 1 };
_ = pane.body.reserveSels();
pane.body.sels[0] = .{ .row = 1, .col = 2, .arow = 0, .acol = 1 };
pane.body.nsel = 1;
@@ -3838,7 +3837,6 @@ const LookResetTests = struct {
}
fn cleared(pane: *const Pane) !void {
- try std.testing.expect(!pane.body.msel.active);
try std.testing.expectEqual(@as(u16, 0), pane.body.nsel);
try std.testing.expect(!pane.body.select);
try std.testing.expectEqual(modal.Normal.State{}, pane.body.normal);