mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 21:16:27 +03:00
avoid double-space in test logging
This commit is contained in:
+2
-2
@@ -194,9 +194,9 @@ enum TestResult {
|
||||
run_test(&path, &config, &target, &revision, &comments);
|
||||
|
||||
// Using a single `eprintln!` to prevent messages from threads from getting intermingled.
|
||||
let mut msg = format!("{} ", path.display());
|
||||
let mut msg = format!("{}", path.display());
|
||||
if !revision.is_empty() {
|
||||
write!(msg, "(revision `{revision}`) ").unwrap();
|
||||
write!(msg, " (revision `{revision}`) ").unwrap();
|
||||
}
|
||||
if errors.is_empty() {
|
||||
finished_files_sender.send((msg, TestResult::Ok))?;
|
||||
|
||||
Reference in New Issue
Block a user