From ef1611b5f5877a111b8f09fc2bd4cb0438347a5a Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Mon, 15 Apr 2019 06:51:51 -0400 Subject: 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. --- tests/feature.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') 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. -- cgit v1.2.3