Minor fixes on the telemetry output for terminal.
This commit is contained in:
@@ -109,7 +109,7 @@ impl EventListener for Terminal {
|
||||
}
|
||||
Event::RunningTests => {
|
||||
eprintln!(
|
||||
"{} {}\n",
|
||||
"{} {}",
|
||||
" Testing"
|
||||
.if_supports_color(Stderr, |s| s.bold())
|
||||
.if_supports_color(Stderr, |s| s.purple()),
|
||||
@@ -144,6 +144,10 @@ impl EventListener for Terminal {
|
||||
String::new()
|
||||
};
|
||||
|
||||
if !tests.is_empty() {
|
||||
println!();
|
||||
}
|
||||
|
||||
let summary = format!("{}{}", seed_info, fmt_test_summary(results, true));
|
||||
println!(
|
||||
"{}\n",
|
||||
@@ -204,10 +208,11 @@ impl EventListener for Terminal {
|
||||
}
|
||||
Event::ResolvingVersions => {
|
||||
eprintln!(
|
||||
"{}",
|
||||
" Resolving dependencies"
|
||||
"{} {}",
|
||||
" Resolving"
|
||||
.if_supports_color(Stderr, |s| s.bold())
|
||||
.if_supports_color(Stderr, |s| s.purple()),
|
||||
"dependencies".if_supports_color(Stderr, |s| s.bold())
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user