summaryrefslogtreecommitdiff
path: root/cli/tools/test_runner.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tools/test_runner.rs')
-rw-r--r--cli/tools/test_runner.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/cli/tools/test_runner.rs b/cli/tools/test_runner.rs
index f856390b9..7f3a139a4 100644
--- a/cli/tools/test_runner.rs
+++ b/cli/tools/test_runner.rs
@@ -100,7 +100,12 @@ impl TestReporter for PrettyTestReporter {
filtered,
only: _,
} => {
- println!("running {} tests from {}", pending, event.origin);
+ if *pending == 1 {
+ println!("running {} test from {}", pending, event.origin);
+ } else {
+ println!("running {} tests from {}", pending, event.origin);
+ }
+
self.pending += pending;
self.filtered_out += filtered;
}