Add // new comment to highlight changed test_runner signature

This commit is contained in:
Philipp Oppermann
2022-10-26 11:52:40 +02:00
parent 56ec24cbe1
commit 1e2ae0e2ee

View File

@@ -555,7 +555,7 @@ The last step is to update our `test_runner` to use the new `Testable` trait:
// in src/main.rs
#[cfg(test)]
pub fn test_runner(tests: &[&dyn Testable]) {
pub fn test_runner(tests: &[&dyn Testable]) { // new
serial_println!("Running {} tests", tests.len());
for test in tests {
test.run(); // new