pub fn tests_str(mode: NextestRunMode, count: usize) -> &'static strExpand description
Returns:
- If
modeisTest: “test” ifcountis 1, otherwise “tests”. - If
modeisBenchmark: “benchmark” ifcountis 1, otherwise “benchmarks”.
pub fn tests_str(mode: NextestRunMode, count: usize) -> &'static strReturns:
mode is Test: “test” if count is 1, otherwise “tests”.mode is Benchmark: “benchmark” if count is 1, otherwise “benchmarks”.