X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft2019-checkout-ambiguous-ref.sh;h=b99d5192a96ec77ef6a99cb86518375c447b48a9;hb=dc2204fe32385fba349e18d953dacd152c72fe00;hp=943541d40d7ea331dd0ae85624a33b9f2258246c;hpb=4584c94f0efb9c03b8e860622937d754076da3dc;p=git.git diff --git a/t/t2019-checkout-ambiguous-ref.sh b/t/t2019-checkout-ambiguous-ref.sh index 943541d40..b99d5192a 100755 --- a/t/t2019-checkout-ambiguous-ref.sh +++ b/t/t2019-checkout-ambiguous-ref.sh @@ -30,8 +30,8 @@ test_expect_success 'checkout chooses branch over tag' ' ' test_expect_success 'checkout reports switch to branch' ' - grep "Switched to branch" stderr && - ! grep "^HEAD is now at" stderr + test_i18ngrep "Switched to branch" stderr && + test_i18ngrep ! "^HEAD is now at" stderr ' test_expect_success 'checkout vague ref succeeds' ' @@ -52,8 +52,8 @@ test_expect_success VAGUENESS_SUCCESS 'checkout chooses branch over tag' ' ' test_expect_success VAGUENESS_SUCCESS 'checkout reports switch to branch' ' - grep "Switched to branch" stderr && - ! grep "^HEAD is now at" stderr + test_i18ngrep "Switched to branch" stderr && + test_i18ngrep ! "^HEAD is now at" stderr ' test_done