diff options
Diffstat (limited to 'core/keys.zig')
| -rw-r--r-- | core/keys.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/keys.zig b/core/keys.zig index 9afb983b..5257a093 100644 --- a/core/keys.zig +++ b/core/keys.zig @@ -616,7 +616,7 @@ test "Del from a key asks which neighbour takes the rows; nothing else asks" { // A word that is not a side closes nothing. try std.testing.expect(p.executeBuiltinLine(again, "Del x")); - try std.testing.expectEqualStrings("Del: takes k, j or nothing", p.panes[again].?.msg[0..p.panes[again].?.msg_len]); + try std.testing.expectEqualStrings("Del: takes k, j or nothing", p.messages.saidBy(p.panes[again].?)); try std.testing.expect(p.panes[again] != null); // DelAbove is Del k, and a line that is not a key never asks. try std.testing.expect(p.executeBuiltinLine(again, "DelAbove")); |
