diff options
Diffstat (limited to 'tests/regression.rs')
-rw-r--r-- | tests/regression.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/regression.rs b/tests/regression.rs index f777ed1c..e2c56968 100644 --- a/tests/regression.rs +++ b/tests/regression.rs @@ -1118,3 +1118,11 @@ pipc () { # [-h] [-U|-u <pkgspec>[,<pkgspec>...]] [<reqs-in>...] [-- <pip-compi let expected = " [-h] [-U|-u <pkgspec>[,<pkgspec>...]] [<reqs-in>...] [-- <pip-compile-arg>...]\n"; eqnice!(expected, cmd.stdout()); }); + +// See: https://github.com/BurntSushi/ripgrep/issues/2236 +rgtest!(r2236, |dir: Dir, mut cmd: TestCommand| { + dir.create(".ignore", r"foo\/"); + dir.create_dir("foo"); + dir.create("foo/bar", "test\n"); + cmd.args(&["test"]).assert_err(); +}); |