diff options
author | Andrew Gallant <jamslam@gmail.com> | 2016-09-23 22:44:17 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2016-09-23 22:44:33 -0400 |
commit | cc90511ab29d3c37e873acac0fd80f90473f54bb (patch) | |
tree | 5cd9e732a1c7470dd3563edb58a6b97cd0cc5286 /tests | |
parent | f5eb36baac668dd6eeb5b90fea2a374940fca06d (diff) |
Switch from .rgignore to .ignore.
But don't actually remove support for .rgignore until the next semver
bump.
Note that this puts us in line with the silver searcher:
https://github.com/ggreer/the_silver_searcher/pull/974
Fixes #40
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tests.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/tests.rs b/tests/tests.rs index e2aedc33..3823cee4 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -377,6 +377,11 @@ sherlock!(ignore_git, "Sherlock", ".", |wd: WorkDir, mut cmd: Command| { wd.assert_err(&mut cmd); }); +sherlock!(ignore_generic, "Sherlock", ".", |wd: WorkDir, mut cmd: Command| { + wd.create(".ignore", "sherlock\n"); + wd.assert_err(&mut cmd); +}); + sherlock!(ignore_ripgrep, "Sherlock", ".", |wd: WorkDir, mut cmd: Command| { wd.create(".rgignore", "sherlock\n"); wd.assert_err(&mut cmd); |