Skip to content

Commit 25df001

Browse files
committed
Auto merge of rust-lang#2458 - RalfJung:less-space, r=RalfJung
avoid double-space in test logging
2 parents 7865255 + 87b9075 commit 25df001

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui_test/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,9 @@ pub fn run_tests(mut config: Config) -> Result<()> {
194194
run_test(&path, &config, &target, &revision, &comments);
195195

196196
// Using a single `eprintln!` to prevent messages from threads from getting intermingled.
197-
let mut msg = format!("{} ", path.display());
197+
let mut msg = format!("{}", path.display());
198198
if !revision.is_empty() {
199-
write!(msg, "(revision `{revision}`) ").unwrap();
199+
write!(msg, " (revision `{revision}`) ").unwrap();
200200
}
201201
if errors.is_empty() {
202202
finished_files_sender.send((msg, TestResult::Ok))?;

0 commit comments

Comments
 (0)