X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=t%2Ft3200-branch.sh;h=859b99abf1cc62c966322fcfc552c0a7eb7356df;hb=73e25e7cc80e175b5c94678188333e42107fa16e;hp=9d2c06ea69d5e3a9d1c464a4d619245d6823c082;hpb=a031d76eebbe85c93f5d4a2a4cafacf417df9bce;p=git.git diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh index 9d2c06ea6..859b99abf 100755 --- a/t/t3200-branch.sh +++ b/t/t3200-branch.sh @@ -43,7 +43,7 @@ test_expect_success \ git branch -l d/e/f && test -f .git/refs/heads/d/e/f && test -f .git/logs/refs/heads/d/e/f && - diff expect .git/logs/refs/heads/d/e/f' + test_cmp expect .git/logs/refs/heads/d/e/f' test_expect_success \ 'git branch -d d/e/f should delete a branch and a log' \ @@ -222,7 +222,7 @@ test_expect_success \ git checkout -b g/h/i -l master && test -f .git/refs/heads/g/h/i && test -f .git/logs/refs/heads/g/h/i && - diff expect .git/logs/refs/heads/g/h/i' + test_cmp expect .git/logs/refs/heads/g/h/i' test_expect_success 'checkout -b makes reflog by default' ' git checkout master &&