Skip to content

Commit

Permalink
Ignore tests for Windows platforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
hanbings committed May 29, 2024
1 parent 0ca47b7 commit 4353503
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/find/matchers/group.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ impl Matcher for GroupMatcher {
fn matches(&self, _file_info: &walkdir::DirEntry, _: &mut super::MatcherIO) -> bool {
// The user group acquisition function for Windows systems is not implemented in MetadataExt,
// so it is somewhat difficult to implement it. :(
true
false
}
}

Expand Down
1 change: 1 addition & 0 deletions tests/find_cmd_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,7 @@ fn expression_empty_parentheses() {
}

#[test]
#[cfg(unix)]
#[serial(working_dir)]
fn find_with_user_predicate() {
Command::cargo_bin("find")
Expand Down

0 comments on commit 4353503

Please sign in to comment.