Show More
@@ -625,6 +625,15 b' mod tests {' | |||||
625 | .unwrap(), |
|
625 | .unwrap(), | |
626 | Some(br"(?:.*/)?rust/target(?:/|$)".to_vec()), |
|
626 | Some(br"(?:.*/)?rust/target(?:/|$)".to_vec()), | |
627 | ); |
|
627 | ); | |
|
628 | assert_eq!( | |||
|
629 | build_single_regex(&IgnorePattern::new( | |||
|
630 | PatternSyntax::Regexp, | |||
|
631 | br"rust/target/\d+", | |||
|
632 | Path::new("") | |||
|
633 | )) | |||
|
634 | .unwrap(), | |||
|
635 | Some(br"rust/target/\d+".to_vec()), | |||
|
636 | ); | |||
628 | } |
|
637 | } | |
629 |
|
638 | |||
630 | #[test] |
|
639 | #[test] |
General Comments 0
You need to be logged in to leave comments.
Login now