diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh
index 9d2c06ea69d5e3a9d1c464a4d619245d6823c082..859b99abf1cc62c966322fcfc552c0a7eb7356df 100755 (executable)
--- a/t/t3200-branch.sh
+++ b/t/t3200-branch.sh
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' \
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 &&