Skip to content

Commit 37e8d79

Browse files
shreyp135gitster
authored andcommitted
test-lib-functions.sh: fix test_grep fail message wording
In the recent commit 2e87fca (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6789275 commit 37e8d79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/test-lib-functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1222,7 +1222,7 @@ test_grep () {
12221222
if test $# -lt 2 ||
12231223
{ test "x!" = "x$1" && test $# -lt 3 ; }
12241224
then
1225-
BUG "too few parameters to test_i18ngrep"
1225+
BUG "too few parameters to test_grep"
12261226
fi
12271227

12281228
if test "x!" = "x$1"

0 commit comments

Comments
 (0)