diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/output.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/output.zig b/test/output.zig index c72668b4..0711442c 100644 --- a/test/output.zig +++ b/test/output.zig @@ -202,7 +202,7 @@ test "references fill the asking text's query pane: sorted under their files, th const request = p.lsp_wait.?.id; // the cursor moves before the answer: it is placed by where it was asked source.body.cur_row = 4; - p.lspResponse(request, response); + pardes.lsp.Ask.lspResponse(p, request, response); const qid = panes.Query.ofOwner(p, source.serial) orelse return error.MissingResults; const results = p.panes[qid].?; const content = results.file.?.content; @@ -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, ""); - p.lspResponse(p.lsp_wait.?.id, "with space.zig:2:1 second\n"); + pardes.lsp.Ask.lspResponse(p, p.lsp_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| { |
