diff mbox series

Message ID 20231203165539.341-1-shreyanshpaliwalcmsmn@gmail.com (mailing list archive)
State Accepted
Commit 37e8d795bed7b93d3f12bcdd3fbb86dfe57921e6
Headers show
Series | expand

Commit Message

Shreyansh Paliwal Dec. 3, 2023, 4:51 p.m. UTC
From: shreyp135 <shreyanshpaliwalcmsmn@gmail.com>

Subject: [PATCH v2] 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.

So if a test employing this function fails,
the error messages may be confusing due to wording issues.

It's important to address these wording changes to ensure smooth transitions
for developers adapting to the deprecation of test_i18ngrep,
and to maintain the effectiveness of the testing process.

Signed-off-by: Shreyansh Paliwal <Shreyanshpaliwalcmsmn@gmail.com>
---
 t/test-lib-functions.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh
index 9c3cf12b26..8737c95e0c 100644
--- a/t/test-lib-functions.sh
+++ b/t/test-lib-functions.sh
@@ -1277,7 +1277,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"