From 45ec87a2c2b842cd92f37d06a1f7c27ee4b1f583 Mon Sep 17 00:00:00 2001 From: Paul Delafosse Date: Tue, 17 Sep 2024 17:45:48 +0200 Subject: [PATCH] test: try to ignore macos for symlink tests --- src/dots.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dots.rs b/src/dots.rs index 32013a95..48f91a16 100644 --- a/src/dots.rs +++ b/src/dots.rs @@ -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 @@ -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");