summaryrefslogtreecommitdiff
path: root/test/process/builtins.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-05 10:45:48 -0300
committerGabriel Schneider <[email protected]>2026-11-05 10:57:08 -0300
commit856bf4a8ed36cc6ec38dc9001f753a8838106da2 (patch)
tree22e170f5b738935bb474dc350ddb02131a866680 /test/process/builtins.zig
parente6a9e2a3bbc5954d2c562019b3ce2983bb98b9cc (diff)
downloadpardes-856bf4a8ed36cc6ec38dc9001f753a8838106da2.tar.gz
pardes-856bf4a8ed36cc6ec38dc9001f753a8838106da2.zip
lsp: the in-process ZLS backend's last traces go: Lspinfo's +Lsp starts with its language servers (`language servers:`), where it said `backend: lsp-client` and `protocol servers (lsp-client):` from when Zig files had a backend of their own, and lsp.backend_name with it (lspbench's report and the tests that quoted the line follow); docs/lsp-evaluation.md's decision says what the tree is, one protocol client for every language, zls found on PATH, and what a user must install
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/process/builtins.zig')
-rw-r--r--test/process/builtins.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/process/builtins.zig b/test/process/builtins.zig
index 410a3f54..55f4ed49 100644
--- a/test/process/builtins.zig
+++ b/test/process/builtins.zig
@@ -7,7 +7,7 @@ const has = process.has;
const check = process.check;
pub const cases = .{
- .{ "builtins: Lspinfo opens one +Lsp pane saying the backend and its servers, detached and in a pty", lspinfo },
+ .{ "builtins: Lspinfo opens one +Lsp pane saying its language servers, detached and in a pty", lspinfo },
};
fn lspinfo(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
@@ -43,7 +43,7 @@ fn lspinfo(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
process.nap(5);
};
const body = try c.pane(a, lsp, "body");
- try check(std.mem.startsWith(u8, body, "backend: lsp-client\n") and has(body, "protocol servers (lsp-client):"), "{s}", .{body});
+ try check(std.mem.startsWith(u8, body, "language servers:\n") and has(body, " zls "), "{s}", .{body});
try std.testing.expectEqualStrings("initial\n", try c.read(a, "/pane/1/body"));
var f: process.Files = .init(gpa, address);
defer f.deinit();