X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft7611-merge-abort.sh;h=7b4798e8e4791c78e94da1354ef7279fa456983d;hb=603ee0f0c3d1b8fc09929d185817c43e231317e7;hp=cdb3f444cd4a5970df6f375382f5cea82ccaee06;hpb=9ecfa8ae4c6701cae85c4f22fdfacffe22d8a75e;p=git.git diff --git a/t/t7611-merge-abort.sh b/t/t7611-merge-abort.sh index cdb3f444c..7b4798e8e 100755 --- a/t/t7611-merge-abort.sh +++ b/t/t7611-merge-abort.sh @@ -46,11 +46,8 @@ test_expect_success 'setup' ' pre_merge_head="$(git rev-parse HEAD)" test_expect_success 'fails without MERGE_HEAD (unstarted merge)' ' - test_must_fail git merge --abort 2>output -' - -test_expect_success C_LOCALE_OUTPUT 'fails without MERGE_HEAD (unstarted merge): fatal output' ' - grep -q MERGE_HEAD output + test_must_fail git merge --abort 2>output && + test_i18ngrep MERGE_HEAD output ' test_expect_success 'fails without MERGE_HEAD (unstarted merge): .git/MERGE_HEAD sanity' ' @@ -63,11 +60,8 @@ test_expect_success 'fails without MERGE_HEAD (completed merge)' ' test ! -f .git/MERGE_HEAD && # Merge successfully completed post_merge_head="$(git rev-parse HEAD)" && - test_must_fail git merge --abort 2>output -' - -test_expect_success C_LOCALE_OUTPUT 'fails without MERGE_HEAD (completed merge): output' ' - grep -q MERGE_HEAD output + test_must_fail git merge --abort 2>output && + test_i18ngrep MERGE_HEAD output ' test_expect_success 'fails without MERGE_HEAD (completed merge): .git/MERGE_HEAD sanity' '