Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 25df001

Browse files
committedAug 2, 2022
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

Lines changed: 2 additions & 2 deletions
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)
This repository has been archived.