diff options
author | Andrew Gallant <jamslam@gmail.com> | 2019-04-15 06:51:51 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2019-04-15 06:51:51 -0400 |
commit | ef1611b5f5877a111b8f09fc2bd4cb0438347a5a (patch) | |
tree | c8c327ffc9fff7be4ded4ccc3f16e5a0421f7459 /tests | |
parent | 45d12abbc5f576d3b10ae13dc7410b14400a8d1e (diff) |
ripgrep: max-column-preview --> max-columns-preview
Credit to @okdana for catching this. This naming is a bit more
consistent with the existing --max-columns flag.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/feature.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/feature.rs b/tests/feature.rs index be9f4bec..13e87535 100644 --- a/tests/feature.rs +++ b/tests/feature.rs @@ -633,10 +633,10 @@ rgtest!(f993_null_data, |dir: Dir, mut cmd: TestCommand| { // See: https://github.com/BurntSushi/ripgrep/issues/1078 // // N.B. There are many more tests in the grep-printer crate. -rgtest!(f1078_max_column_preview1, |dir: Dir, mut cmd: TestCommand| { +rgtest!(f1078_max_columns_preview1, |dir: Dir, mut cmd: TestCommand| { dir.create("sherlock", SHERLOCK); cmd.args(&[ - "-M46", "--max-column-preview", + "-M46", "--max-columns-preview", "exhibited|dusted|has to have it", ]); @@ -647,10 +647,10 @@ sherlock:and exhibited clearly, with a label attached. eqnice!(expected, cmd.stdout()); }); -rgtest!(f1078_max_column_preview2, |dir: Dir, mut cmd: TestCommand| { +rgtest!(f1078_max_columns_preview2, |dir: Dir, mut cmd: TestCommand| { dir.create("sherlock", SHERLOCK); cmd.args(&[ - "-M43", "--max-column-preview", + "-M43", "--max-columns-preview", // Doing a replacement forces ripgrep to show the number of remaining // matches. Normally, this happens by default when printing a tty with // colors. |