diff mbox series

[v4,01/10] t/t4209-log-pickaxe: Naming typo: -G takes a regex

Message ID 20250211085028.3923875-2-illia.bobyr@gmail.com (mailing list archive)
State New
Headers show
Series [v4,01/10] t/t4209-log-pickaxe: Naming typo: -G takes a regex | expand

Commit Message

Illia Bobyr Feb. 11, 2025, 8:50 a.m. UTC
Not effect on the test logic, but as "-G" argument is a regex it is more
accurate to use "regex" as a dummy argument value rather than "string".
In all the other case when "-G" is passed a dummy value it is spelled as
"regex" rather than as "string".
---
 t/t4209-log-pickaxe.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/t/t4209-log-pickaxe.sh b/t/t4209-log-pickaxe.sh
index a675ac..ed70c 100755
--- a/t/t4209-log-pickaxe.sh
+++ b/t/t4209-log-pickaxe.sh
@@ -89,7 +89,7 @@  test_expect_success 'usage: --no-pickaxe-regex' '
 	test_expect_code 128 git log -Sstring --no-pickaxe-regex 2>actual &&
 	test_cmp expect actual &&
 
-	test_expect_code 128 git log -Gstring --no-pickaxe-regex 2>err &&
+	test_expect_code 128 git log -Gregex --no-pickaxe-regex 2>err &&
 	test_cmp expect actual
 '