mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-04-19 09:02:15 +02:00
parent
20ccd441f2
commit
f27aa3ff6f
@ -429,4 +429,10 @@ mod tests {
|
|||||||
not_ignored!(ignot11, ROOT, "#foo", "#foo");
|
not_ignored!(ignot11, ROOT, "#foo", "#foo");
|
||||||
not_ignored!(ignot12, ROOT, "\n\n\n", "foo");
|
not_ignored!(ignot12, ROOT, "\n\n\n", "foo");
|
||||||
not_ignored!(ignot13, ROOT, "foo/**", "foo", true);
|
not_ignored!(ignot13, ROOT, "foo/**", "foo", true);
|
||||||
|
|
||||||
|
// See: https://github.com/BurntSushi/ripgrep/issues/106
|
||||||
|
#[test]
|
||||||
|
fn regression_106() {
|
||||||
|
Gitignore::from_str("/", " ").unwrap();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user