summaryrefslogtreecommitdiff
path: root/core/Places.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/Places.zig')
-rw-r--r--core/Places.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Places.zig b/core/Places.zig
index 7ffcb6cb..7f847f6a 100644
--- a/core/Places.zig
+++ b/core/Places.zig
@@ -802,7 +802,7 @@ test "places: * finds them all, n and N step them round the end silently, an edi
try std.testing.expectEqual(@as(?usize, 0), set.current);
// round the end: the search word says so, and the message row echoes
// it (Prompt.zig, pick-ui SPEC §7.3)
- try std.testing.expect(std.mem.indexOf(u8, pane.msg[0..pane.msg_len], "1/3 ↻ · line 1") != null);
+ try std.testing.expect(std.mem.indexOf(u8, p.messages.saidBy(pane), "1/3 ↻ · line 1") != null);
typeKeys(p, "N");
try std.testing.expectEqual(@as(?usize, 2), set.current);