summaryrefslogtreecommitdiffstats
path: root/t/t7816-grep-binary-pattern.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-11-08 03:04:02 +0100
committerJunio C Hamano <gitster@pobox.com>2023-11-08 03:04:02 +0100
commita8e2394704d0543f4e1f1ac6ea532d098316d97e (patch)
tree9120b53b6c93bb8db02997cb446a4311a7e21311 /t/t7816-grep-binary-pattern.sh
parentMerge branch 'la/strvec-header-fix' (diff)
parenttests: teach callers of test_i18ngrep to use test_grep (diff)
downloadgit-a8e2394704d0543f4e1f1ac6ea532d098316d97e.tar.xz
git-a8e2394704d0543f4e1f1ac6ea532d098316d97e.zip
Merge branch 'jc/test-i18ngrep'
Another step to deprecate test_i18ngrep. * jc/test-i18ngrep: tests: teach callers of test_i18ngrep to use test_grep test framework: further deprecate test_i18ngrep
Diffstat (limited to 't/t7816-grep-binary-pattern.sh')
-rwxr-xr-xt/t7816-grep-binary-pattern.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t7816-grep-binary-pattern.sh b/t/t7816-grep-binary-pattern.sh
index fdb2355649..4353be5adb 100755
--- a/t/t7816-grep-binary-pattern.sh
+++ b/t/t7816-grep-binary-pattern.sh
@@ -26,7 +26,7 @@ nul_match_internal () {
>stderr &&
printf '$pattern' | q_to_nul >f &&
test_must_fail env LC_ALL=\"$lc_all\" git grep $extra_flags -f f $flags a 2>stderr &&
- test_i18ngrep ! 'This is only supported with -P under PCRE v2' stderr
+ test_grep ! 'This is only supported with -P under PCRE v2' stderr
"
elif test "$matches" = P
then
@@ -34,7 +34,7 @@ nul_match_internal () {
>stderr &&
printf '$pattern' | q_to_nul >f &&
test_must_fail env LC_ALL=\"$lc_all\" git grep -f f $flags a 2>stderr &&
- test_i18ngrep 'This is only supported with -P under PCRE v2' stderr
+ test_grep 'This is only supported with -P under PCRE v2' stderr
"
else
test_expect_success "PANIC: Test framework error. Unknown matches value $matches" 'false'