summaryrefslogtreecommitdiff
path: root/test/output.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/output.zig')
-rw-r--r--test/output.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/output.zig b/test/output.zig
index 0711442c..31027cfc 100644
--- a/test/output.zig
+++ b/test/output.zig
@@ -199,7 +199,7 @@ test "references fill the asking text's query pane: sorted under their files, th
source.body.cur_row = 2;
source.body.cur_col = 4;
p.lspRequest(0, .references, "");
- const request = p.lsp_wait.?.id;
+ const request = p.lsp_ask.wait.?.id;
// the cursor moves before the answer: it is placed by where it was asked
source.body.cur_row = 4;
pardes.lsp.Ask.lspResponse(p, request, response);
@@ -272,7 +272,7 @@ test "a single language location opens the full spaced filename" {
const p = try Pardes.init(std.testing.allocator, .{ .file = path });
defer p.deinit();
p.lspRequest(0, .references, "");
- pardes.lsp.Ask.lspResponse(p, p.lsp_wait.?.id, "with space.zig:2:1 second\n");
+ pardes.lsp.Ask.lspResponse(p, p.lsp_ask.wait.?.id, "with space.zig:2:1 second\n");
try std.testing.expect(std.mem.endsWith(u8, p.panes[p.active].?.file.?.path, "/with space.zig"));
try std.testing.expectEqual(@as(i32, 1), p.panes[p.active].?.body.cur_row);
for (p.panes) |slot| {