Skip to content

Commit

Permalink
test: try to ignore macos for symlink tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oknozor committed Sep 17, 2024
1 parent 1171b46 commit 45ec87a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dots.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ mod tests {
Ok(())
}

#[cfg(target_os = "linux")]
#[sealed_test(files = ["tests/dotfiles_with_multiple_nested_dir"], before = setup("dotfiles_with_multiple_nested_dir"))]
fn copy() -> Result<()> {
// Arrange
Expand Down Expand Up @@ -411,6 +412,7 @@ mod tests {
Ok(())
}

#[cfg(target_os = "linux")]
#[sealed_test(files = ["tests/dotfiles_non_utf8"], before = setup("dotfiles_non_utf8"))]
fn copy_non_utf8() -> Result<()> {
let source = PathBuf::from("dotfiles_non_utf8/ferris.png");
Expand Down

0 comments on commit 45ec87a

Please sign in to comment.