diff --git a/ui_test/src/lib.rs b/ui_test/src/lib.rs index bcc48b4b631..9206c0f3d8e 100644 --- a/ui_test/src/lib.rs +++ b/ui_test/src/lib.rs @@ -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))?;