You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let aut = AcAutomaton::new(vec!["libcore/", "libstd/"]);let aut = FullAcAutomaton::new(aut);let matches:Vec<_> = aut.find_overlapping("libcore/char/methods.rs").collect();assert_eq!(matches, vec![Match{pati: 0, start: 0, end: 8}]);let aut = AcAutomaton::new(vec!["libstd/", "libcore/"]);let aut = FullAcAutomaton::new(aut);let matches:Vec<_> = aut.find_overlapping("libcore/char/methods.rs").collect();assert_eq!(matches, vec![Match{pati: 1, start: 0, end: 8}]);
The second assertion is failing.
If I comment the lines let aut = FullAcAutomaton::new(aut);, everything is ok.
This bug is a followup on: BurntSushi/ripgrep#1079
The text was updated successfully, but these errors were encountered:
The second assertion is failing.
If I comment the lines
let aut = FullAcAutomaton::new(aut);
, everything is ok.This bug is a followup on:
BurntSushi/ripgrep#1079
The text was updated successfully, but these errors were encountered: