diff --git a/src/ignore/git.rs b/src/ignore/git.rs index ff03399c..86339e0e 100644 --- a/src/ignore/git.rs +++ b/src/ignore/git.rs @@ -347,7 +347,7 @@ mod tests { assert_eq!(filter.regex.as_str(), "C:/Projects/testprj/([^/]+/)*foo"); assert!(filter.only_dir); - assert!(filter.negate); + assert!(!filter.negate); let filter = &result[1];