diff options
Diffstat (limited to 'core/Query.zig')
| -rw-r--r-- | core/Query.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Query.zig b/core/Query.zig index feebb6cd..b272da4b 100644 --- a/core/Query.zig +++ b/core/Query.zig @@ -2481,7 +2481,7 @@ test "a language server's list: one answer lands with no pane, several open the p.lspRequest(0, .diagnostics, ""); p.update(.{ .lsp_resp = .{ .id = p.lsp_ask.wait.?.id, .rows = "" } }); try std.testing.expectEqual(@as(usize, 1), npanes(p)); - try std.testing.expect(std.mem.indexOf(u8, pane.msg[0..pane.msg_len], "none") != null); + try std.testing.expect(std.mem.indexOf(u8, p.messages.saidBy(pane), "none") != null); // Several: the list open, the keyboard in it in normal mode on the // current row, which the text shows; line 1 as text. pane.body.cur_row = 0; |
