diff options
Diffstat (limited to 'test/process/builtins.zig')
| -rw-r--r-- | test/process/builtins.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/process/builtins.zig b/test/process/builtins.zig index 55f4ed49..b3dbe05e 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 its language servers, detached and in a pty", lspinfo }, + .{ "builtins: Lspinfo opens one +Lsp pane saying its index and 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, "language servers:\n") and has(body, " zls "), "{s}", .{body}); + try check(std.mem.startsWith(u8, body, "scip: no index.scip above ") and has(body, "\nlanguage 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(); |
