summaryrefslogtreecommitdiffstats
path: root/t/t7518-ident-corner-cases.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/t7518-ident-corner-cases.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/t7518-ident-corner-cases.sh')
-rwxr-xr-xt/t7518-ident-corner-cases.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/t/t7518-ident-corner-cases.sh b/t/t7518-ident-corner-cases.sh
index 9ab2ae2f3b..b37de0af49 100755
--- a/t/t7518-ident-corner-cases.sh
+++ b/t/t7518-ident-corner-cases.sh
@@ -15,7 +15,7 @@ test_expect_success 'empty name and missing email' '
sane_unset GIT_AUTHOR_EMAIL &&
GIT_AUTHOR_NAME= &&
test_must_fail git commit --allow-empty -m foo 2>err &&
- test_i18ngrep ! "(null)" err
+ test_grep ! "(null)" err
)
'
@@ -40,8 +40,8 @@ test_expect_success 'empty configured name does not auto-detect' '
sane_unset GIT_AUTHOR_NAME &&
test_must_fail \
git -c user.name= commit --allow-empty -m foo 2>err &&
- test_i18ngrep "empty ident name" err &&
- test_i18ngrep "Author identity unknown" err
+ test_grep "empty ident name" err &&
+ test_grep "Author identity unknown" err
)
'
@@ -50,8 +50,8 @@ test_expect_success 'empty configured name does not auto-detect for committer' '
sane_unset GIT_COMMITTER_NAME &&
test_must_fail \
git -c user.name= commit --allow-empty -m foo 2>err &&
- test_i18ngrep "empty ident name" err &&
- test_i18ngrep "Committer identity unknown" err
+ test_grep "empty ident name" err &&
+ test_grep "Committer identity unknown" err
)
'