summaryrefslogtreecommitdiffstats
path: root/tests/tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests.rs')
-rw-r--r--tests/tests.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/tests.rs b/tests/tests.rs
index 66c2e51c..47169191 100644
--- a/tests/tests.rs
+++ b/tests/tests.rs
@@ -339,9 +339,10 @@ sherlock!(files_with_matches, "Sherlock", ".", |wd: WorkDir, mut cmd: Command| {
assert_eq!(lines, expected);
});
-sherlock!(files_without_matches, "Sherlock", ".", |wd: WorkDir, mut cmd: Command| {
+sherlock!(files_without_matches, "Sherlock", ".",
+|wd: WorkDir, mut cmd: Command| {
wd.create("file.py", "foo");
- cmd.arg("--files-without-matches");
+ cmd.arg("--files-without-match");
let lines: String = wd.stdout(&mut cmd);
let expected = "file.py\n";
assert_eq!(lines, expected);
@@ -1070,7 +1071,7 @@ sherlock!(feature_89_files_with_matches, "Sherlock", ".",
sherlock!(feature_89_files_without_matches, "Sherlock", ".",
|wd: WorkDir, mut cmd: Command| {
wd.create("file.py", "foo");
- cmd.arg("--null").arg("--files-without-matches");
+ cmd.arg("--null").arg("--files-without-match");
let lines: String = wd.stdout(&mut cmd);
assert_eq!(lines, "file.py\x00");