Fix pluralization of tests

This commit is contained in:
Jakub Beránek 2025-03-13 13:14:14 +01:00
parent 961351c76c
commit 6f214c5bb3
No known key found for this signature in database
GPG key ID: 909CD0D26483516B

View file

@ -242,7 +242,7 @@ fn report_test_changes(mut diffs: Vec<AggregatedTestDiffs>) {
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));
}
}