diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/panes.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/panes.zig b/test/panes.zig index 732a2534..001441a8 100644 --- a/test/panes.zig +++ b/test/panes.zig @@ -1147,7 +1147,7 @@ test "terminal edits and undo survive partial history clearing and whole-screen try std.testing.expectEqual(expected + 1, pane.body.cur_row); try std.testing.expectEqual(expected, pane.body.vsel.row); } - for ([_]panes.terminal.Snapshot{ pane.body.ed_undo[0], pane.body.ed_redo[0] }) |snapshot| { + for ([_]panes.Text.Snapshot{ pane.body.ed_undo[0], pane.body.ed_redo[0] }) |snapshot| { try std.testing.expectEqual(expected, snapshot.ovl.?.row); try std.testing.expectEqual(expected + 1, snapshot.cur_row); try std.testing.expectEqualStrings("edit one\nedit two", snapshot.ovl.?.text); |
