diff options
author | Andrew Gallant <jamslam@gmail.com> | 2016-09-17 16:55:58 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2016-09-17 16:55:58 -0400 |
commit | f7ee914dd3f499d440747a0b4e7391ff2a5252cf (patch) | |
tree | c068c38c02bba24b17bf96fb2a20f12249f579dc /tests | |
parent | 0a63158a615555c031c6dc83c80230d67d426845 (diff) |
Add support for searching multiple patterns with -e.0.1.4
Also, change -Q/--literal to -F/--fixed-strings because compatibility
with grep is probably better.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests.rs b/tests/tests.rs index 903ef3e1..daff20da 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -166,7 +166,7 @@ For the Doctor Watsons of this world, as opposed to the Sherlock sherlock!(literal, "()", "file", |wd: WorkDir, mut cmd: Command| { wd.create("file", "blib\n()\nblab\n"); - cmd.arg("-Q"); + cmd.arg("-F"); let lines: String = wd.stdout(&mut cmd); assert_eq!(lines, "()\n"); }); |