diff options
Diffstat (limited to 'cli/tools/test.rs')
-rw-r--r-- | cli/tools/test.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/tools/test.rs b/cli/tools/test.rs index 1eb36671e..6ed443806 100644 --- a/cli/tools/test.rs +++ b/cli/tools/test.rs @@ -312,6 +312,10 @@ impl PrettyTestReporter { print!("{}", " ".repeat(description.level)); } + if wrote_user_output { + print!("{} ... ", description.name); + } + println!( "{} {}", status, @@ -414,6 +418,10 @@ impl TestReporter for PrettyTestReporter { print!(" "); } + if wrote_user_output { + print!("{} ... ", description.name); + } + let status = match result { TestResult::Ok => colors::green("ok").to_string(), TestResult::Ignored => colors::yellow("ignored").to_string(), |