tests_str

Function tests_str 

Source
pub fn tests_str(mode: NextestRunMode, count: usize) -> &'static str
Expand description

Returns:

  • If mode is Test: “test” if count is 1, otherwise “tests”.
  • If mode is Benchmark: “benchmark” if count is 1, otherwise “benchmarks”.