]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t4018-diff-funcname.sh
tests: teach callers of test_i18ngrep to use test_grep
[thirdparty/git.git] / t / t4018-diff-funcname.sh
index c8d555771d5072f95185f48898b59a7e88ddcd26..e026fac1f4090330f81b5b417e1b9e930795fd96 100755 (executable)
@@ -53,15 +53,15 @@ do
                echo "*.java diff=$p" >.gitattributes &&
                test_expect_code 1 git diff --no-index \
                        A.java B.java 2>msg &&
-               test_i18ngrep ! fatal msg &&
-               test_i18ngrep ! error msg
+               test_grep ! fatal msg &&
+               test_grep ! error msg
        '
        test_expect_success "builtin $p wordRegex pattern compiles" '
                echo "*.java diff=$p" >.gitattributes &&
                test_expect_code 1 git diff --no-index --word-diff \
                        A.java B.java 2>msg &&
-               test_i18ngrep ! fatal msg &&
-               test_i18ngrep ! error msg
+               test_grep ! fatal msg &&
+               test_grep ! error msg
        '
 
        test_expect_success "builtin $p pattern compiles on bare repo with --attr-source" '
@@ -79,8 +79,8 @@ do
                git -C bare.git symbolic-ref HEAD refs/heads/master &&
                test_expect_code 1 git -C bare.git --attr-source=branchA \
                        diff --exit-code HEAD:A.java HEAD:B.java 2>msg &&
-               test_i18ngrep ! fatal msg &&
-               test_i18ngrep ! error msg
+               test_grep ! fatal msg &&
+               test_grep ! error msg
        '
 done
 
@@ -88,7 +88,7 @@ test_expect_success 'last regexp must not be negated' '
        echo "*.java diff=java" >.gitattributes &&
        test_config diff.java.funcname "!static" &&
        test_expect_code 128 git diff --no-index A.java B.java 2>msg &&
-       test_i18ngrep ": Last expression must not be negated:" msg
+       test_grep ": Last expression must not be negated:" msg
 '
 
 test_expect_success 'setup hunk header tests' '