From ec8c0aae74d541336b2e24c34954b48347edb05d Mon Sep 17 00:00:00 2001 From: sxyazi Date: Sat, 26 Oct 2024 08:47:08 +0800 Subject: [PATCH] .. --- yazi-config/src/pattern.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yazi-config/src/pattern.rs b/yazi-config/src/pattern.rs index 8240b5b6..37be5c6a 100644 --- a/yazi-config/src/pattern.rs +++ b/yazi-config/src/pattern.rs @@ -84,6 +84,7 @@ mod tests { Pattern::from_str(glob).unwrap().match_path(path, false) } + #[cfg(unix)] #[test] fn test_unix() { // Wildcard @@ -117,6 +118,7 @@ mod tests { assert!(!matches("/*.md", "/foo/bar.md")); } + #[cfg(windows)] #[test] fn test_windows() { // Wildcard