diff options
Diffstat (limited to 't')
-rwxr-xr-x | t/t0002-gitfile.sh | 4 | ||||
-rwxr-xr-x | t/t0008-ignores.sh | 2 | ||||
-rwxr-xr-x | t/t1506-rev-parse-diagnosis.sh | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/t/t0002-gitfile.sh b/t/t0002-gitfile.sh index 9670e8cbe6..797dcf95b7 100755 --- a/t/t0002-gitfile.sh +++ b/t/t0002-gitfile.sh @@ -31,7 +31,7 @@ test_expect_success 'bad setup: invalid .git file format' ' echo "git rev-parse accepted an invalid .git file" false fi && - if ! grep "Invalid gitfile format" .err + if ! test_i18ngrep "invalid gitfile format" .err then echo "git rev-parse returned wrong error" false @@ -45,7 +45,7 @@ test_expect_success 'bad setup: invalid .git file path' ' echo "git rev-parse accepted an invalid .git file path" false fi && - if ! grep "Not a git repository" .err + if ! test_i18ngrep "not a git repository" .err then echo "git rev-parse returned wrong error" false diff --git a/t/t0008-ignores.sh b/t/t0008-ignores.sh index d27f438bf4..5743b482f2 100755 --- a/t/t0008-ignores.sh +++ b/t/t0008-ignores.sh @@ -307,7 +307,7 @@ test_expect_success_multi 'needs work tree' '' ' cd .git && test_check_ignore "foo" 128 ) && - stderr_contains "fatal: This operation must be run in a work tree" + stderr_contains "fatal: this operation must be run in a work tree" ' ############################################################################ diff --git a/t/t1506-rev-parse-diagnosis.sh b/t/t1506-rev-parse-diagnosis.sh index 79a0251efa..4ee009da66 100755 --- a/t/t1506-rev-parse-diagnosis.sh +++ b/t/t1506-rev-parse-diagnosis.sh @@ -157,7 +157,7 @@ test_expect_success 'relative path not found' ' test_expect_success 'relative path outside worktree' ' test_must_fail git rev-parse HEAD:../file.txt >output 2>error && test -z "$(cat output)" && - grep "outside repository" error + test_i18ngrep "outside repository" error ' test_expect_success 'relative path when cwd is outside worktree' ' |