branch: allow a no-op "branch -M <current-branch> HEAD"
[gitweb.git] / t / t1200-tutorial.sh
index bfa2c2190d0368eba533a8411df739eee77fa1be..5e29e13782ffad74915128adf163d57eef16f4e8 100755 (executable)
@@ -163,8 +163,11 @@ test_expect_success 'git resolve' '
        git checkout mybranch &&
        git merge -m "Merge upstream changes." master |
                sed -e "1s/[0-9a-f]\{7\}/VARIABLE/g" \
-               -e "s/^Fast[- ]forward /FASTFORWARD /" >resolve.output &&
-       test_cmp resolve.expect resolve.output
+               -e "s/^Fast[- ]forward /FASTFORWARD /" >resolve.output
+'
+
+test_expect_success 'git resolve output' '
+       test_i18ncmp resolve.expect resolve.output
 '
 
 cat > show-branch2.expect << EOF