We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d35ebf7 commit 7c7c738Copy full SHA for 7c7c738
src/cargo-fmt/main.rs
@@ -917,10 +917,11 @@ mod cargo_fmt_tests {
917
let exp_other = PathBuf::from(
918
"tests/nested-test-files/root-and-nested-tests/tests/nested/other.rs",
919
);
920
- assert_eq!(
921
- Some(vec![exp_baz, exp_foo_bar, exp_other]),
922
- get_nested_integration_test_files(&target_dir, &target_dir),
923
- )
+ let files = get_nested_integration_test_files(&target_dir, &target_dir).unwrap();
+ assert_eq!(3, files.len());
+ assert!(files.contains(&exp_baz));
+ assert!(files.contains(&exp_foo_bar));
924
+ assert!(files.contains(&exp_other));
925
}
926
927
0 commit comments