Skip to content

Commit

Permalink
test: use Path::display instead of to_string_lossy to render test…
Browse files Browse the repository at this point in the history
…s paths
  • Loading branch information
eduardosm committed Sep 10, 2024
1 parent adc65ad commit 187766d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convert-tests/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fn main() -> ExitCode {
for test_path in tests_paths {
let full_test_path = root_path.join(&test_path);
tests.push(libtest_mimic::Trial::test(
test_path.to_string_lossy(),
test_path.display().to_string(),
move || test::run_test(&full_test_path).map_err(|e| e.into()),
));
}
Expand Down

0 comments on commit 187766d

Please sign in to comment.