summaryrefslogtreecommitdiff
path: root/test/process.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/process.zig')
-rw-r--r--test/process.zig5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/process.zig b/test/process.zig
index 791a5b8e..fe5d97f0 100644
--- a/test/process.zig
+++ b/test/process.zig
@@ -960,9 +960,12 @@ pub const Child = struct {
// never the user's: the dumps a test makes there would push the
// user's out.
if (root_z != null) _ = unsetenv("XDG_DATA_HOME");
+ // No language server starts at a file's open (lsp_client.open):
+ // the `lsp` cases' zls is this machine's, started by their
+ // first query as before.
for ([_][2][*:0]const u8{
.{ "PARDES_DAEMON", "off" }, .{ "PARDES_LSP_RS", "" }, .{ "PARDES_LSP_C", "" }, .{ "PARDES_LSP_GO", "" },
- .{ "PARDES_LSP_TS", "" }, .{ "PARDES_LSP_PY", "" },
+ .{ "PARDES_LSP_TS", "" }, .{ "PARDES_LSP_PY", "" }, .{ "PARDES_LSP_OPEN", "off" },
}) |kv| if (setenv(kv[0], kv[1], 1) != 0) _exit(126);
if (opts.pty != null and setenv("TERM", "xterm-256color", 1) != 0) _exit(126);
// No test reaches the user's display: a window any of them