test(lsp): remove obsolete logger flags

This commit is contained in:
csh
2026-07-11 18:26:14 +08:00
parent 3642aa8b5b
commit 49e7c7f424
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ def main() -> int:
messages = load_messages(request_dir, replacements, files) messages = load_messages(request_dir, replacements, files)
proc = subprocess.Popen( proc = subprocess.Popen(
[str(server_path), "--log=off", "--log-stderr"], [str(server_path), "--log=off"],
stdin=subprocess.PIPE, stdin=subprocess.PIPE,
stdout=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.PIPE, stderr=subprocess.PIPE,
@@ -248,7 +248,7 @@ namespace lsp::test::provider
input_file << input_payload; input_file << input_payload;
} }
std::string command = "\"" + server_path.string() + "\" --log=off --use-stdio < \"" + std::string command = "\"" + server_path.string() + "\" --log=off < \"" +
input_path.string() + "\" > \"" + output_path.string() + "\""; input_path.string() + "\" > \"" + output_path.string() + "\"";
int exit_code = std::system(command.c_str()); int exit_code = std::system(command.c_str());
assertEqual(0, exit_code, "tsl-server should exit successfully"); assertEqual(0, exit_code, "tsl-server should exit successfully");