diff options
Diffstat (limited to 'tests/regression.rs')
-rw-r--r-- | tests/regression.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/regression.rs b/tests/regression.rs index 8c132795..203ac140 100644 --- a/tests/regression.rs +++ b/tests/regression.rs @@ -917,10 +917,12 @@ rgtest!(r1866, |dir: Dir, mut cmd: TestCommand| { "test", ]); + // vimgrep only wants the first line of each match, even when a match + // spans multiple lines. + // + // See: https://github.com/BurntSushi/ripgrep/issues/1866 let expected = "\ test:1:1:foobar -test:2:1:foobar -test:3:1:foo quux test:3:5:foo quux "; eqnice!(expected, cmd.stdout()); |