Junio C Hamano <gitster@xxxxxxxxx> writes: > I'll see if that is the only glitch in the patch (in which case I'll > manually adjust the authorship and apply) or respond on list > (otherwise). > > Thanks for pinging and ponging. Here is the version I queued. Thanks, both. --- >8 --- From: Shreyansh Paliwal <shreyanshpaliwalcmsmn@xxxxxxxxx> Date: Sun, 3 Dec 2023 22:47:59 +0530 Subject: [PATCH] test-lib-functions.sh: fix test_grep fail message wording In the recent commit 2e87fca189 (test framework: further deprecate test_i18ngrep, 2023-10-31), the test_i18ngrep function was deprecated, and all the callers were updated to call the test_grep function instead. But test_grep inherited an error message that still refers to test_i18ngrep by mistake. Correct it so that a broken call to the test_grep will identify itself as such. Signed-off-by: Shreyansh Paliwal <shreyanshpaliwalcmsmn@xxxxxxxxx> Signed-off-by: Junio C Hamano <gitster@xxxxxxxxx> --- t/test-lib-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh index c50bc18861..502f892fad 100644 --- a/t/test-lib-functions.sh +++ b/t/test-lib-functions.sh @@ -1222,7 +1222,7 @@ test_grep () { if test $# -lt 2 || { test "x!" = "x$1" && test $# -lt 3 ; } then - BUG "too few parameters to test_i18ngrep" + BUG "too few parameters to test_grep" fi if test "x!" = "x$1" -- 2.43.0-76-g1a87c842ec