diff options
Diffstat (limited to 'test/behaviour/modes.zig')
| -rw-r--r-- | test/behaviour/modes.zig | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/behaviour/modes.zig b/test/behaviour/modes.zig index 47f2ccd2..39bb66c8 100644 --- a/test/behaviour/modes.zig +++ b/test/behaviour/modes.zig @@ -249,10 +249,12 @@ test "modes: window keys walk from a pane up through its column's tag and the wo try std.testing.expect(x0 < right); const tag = s.at("/col/{d}/tag", .{try s.column(0)}); const words = try s.read(tag); - try s.keys("w"); + // On its user's text, after its computed words (UX K'1): `b` moves + // back onto them. + try s.keys("b"); try s.expect(tag, words); const remembered = (try s.cursor()).?; - try std.testing.expect(remembered[0] > x0); + try std.testing.expect(remembered[0] < x0); // Across to the right column's tag, and back to where the caret was. try s.keys("\x17l"); try std.testing.expect((try s.cursor()).?[0] >= right); |
