✅ test(lsp): remove obsolete logger flags
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user