mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
a222f35c72
commit
ec8c0aae74
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue