mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
Fix pluralization of tests
This commit is contained in:
@@ -242,7 +242,7 @@ fn format_diff(diff: &TestOutcomeDiff) -> String {
|
||||
println!(" - {}: {}", test.name, format_diff(&outcome_diff));
|
||||
}
|
||||
if extra_tests > 0 {
|
||||
println!(" - (and {extra_tests} additional {})", pluralize("tests", extra_tests));
|
||||
println!(" - (and {extra_tests} additional {})", pluralize("test", extra_tests));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user