Skip to content

Commit

Permalink
Merge pull request #5471 from cakebaker/cp_fix_unused_variable_warnings
Browse files Browse the repository at this point in the history
cp: restrict two test functions to linux/mac/win
  • Loading branch information
tertsdiepraam authored Nov 1, 2023
2 parents 615b562 + a7cc3b6 commit 98ad01b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/by-util/test_cp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3232,6 +3232,7 @@ fn test_cp_archive_on_directory_ending_dot() {
}

#[test]
#[cfg(any(target_os = "linux", target_os = "windows", target_os = "macos"))]
fn test_cp_debug_default() {
let ts = TestScenario::new(util_name!());
let at = &ts.fixtures;
Expand Down Expand Up @@ -3259,6 +3260,7 @@ fn test_cp_debug_default() {
}

#[test]
#[cfg(any(target_os = "linux", target_os = "windows", target_os = "macos"))]
fn test_cp_debug_multiple_default() {
let ts = TestScenario::new(util_name!());
let at = &ts.fixtures;
Expand Down

0 comments on commit 98ad01b

Please sign in to comment.