perf(repl): don't walk workspace in repl language server (#24037)

This commit is contained in:
Nayeem Rahman 2024-05-29 21:31:09 +01:00 committed by GitHub
parent 3c3076a84c
commit 3d3722507e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 90 additions and 81 deletions

View file

@ -1084,7 +1084,10 @@ fn closed_file_pre_load_does_not_occur() {
.new_command()
.args_vec(["repl", "-A", "--log-level=debug"])
.with_pty(|console| {
assert_contains!(console.all_output(), "Skipped document preload.",);
assert_contains!(
console.all_output(),
"Skipped workspace walk due to client incapability.",
);
});
}