summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2016-09-23 22:44:17 -0400
committerAndrew Gallant <jamslam@gmail.com>2016-09-23 22:44:33 -0400
commitcc90511ab29d3c37e873acac0fd80f90473f54bb (patch)
tree5cd9e732a1c7470dd3563edb58a6b97cd0cc5286 /tests
parentf5eb36baac668dd6eeb5b90fea2a374940fca06d (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.rs5
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);