avoid double-space in test logging
This commit is contained in:
parent
7865255b86
commit
87b9075920
@ -194,9 +194,9 @@ enum TestResult {
|
|||||||
run_test(&path, &config, &target, &revision, &comments);
|
run_test(&path, &config, &target, &revision, &comments);
|
||||||
|
|
||||||
// Using a single `eprintln!` to prevent messages from threads from getting intermingled.
|
// 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() {
|
if !revision.is_empty() {
|
||||||
write!(msg, "(revision `{revision}`) ").unwrap();
|
write!(msg, " (revision `{revision}`) ").unwrap();
|
||||||
}
|
}
|
||||||
if errors.is_empty() {
|
if errors.is_empty() {
|
||||||
finished_files_sender.send((msg, TestResult::Ok))?;
|
finished_files_sender.send((msg, TestResult::Ok))?;
|
||||||
|
Loading…
Reference in New Issue
Block a user