Skip to content

Commit

Permalink
Output what paths were acrually tested
Browse files Browse the repository at this point in the history
By running

  cargo test -- --nocapture --test-threads=1

we see exactly which paths were verified
  • Loading branch information
tesujimath committed May 27, 2024
1 parent 1c5e4a3 commit a5d0633
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/helpers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,11 @@ fn is_expected_ok(path: &Path, actual: io::Result<PathBuf>, expected: &Path, che
"canonical paths for {:?}",
path
);
println!(
"verified \"{}\".real_parent() == \"{}\"",
path.to_string_lossy(),
actual.to_string_lossy()
);
}
Err(e) => panic!("real_parent({:?}) failed unexpectedly: {:?}", path, e),
}
Expand Down

0 comments on commit a5d0633

Please sign in to comment.