X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=t%2Ft4201-shortlog.sh;h=405b97119175a1c0fa75a9db30c6b1ab076cc44e;hb=df5e12f7d405b84de07c3f2dc1afe51b1d594e2c;hp=eef4cafda99729977af9bee2eca83493814faede;hpb=37bd6c5a2a1dbefdcbc0120451b95f82055f160f;p=git.git diff --git a/t/t4201-shortlog.sh b/t/t4201-shortlog.sh index eef4cafda..405b97119 100755 --- a/t/t4201-shortlog.sh +++ b/t/t4201-shortlog.sh @@ -45,11 +45,11 @@ A U Thor (5): EOF -test_expect_success 'shortlog wrapping' 'diff -u expect out' +test_expect_success 'shortlog wrapping' 'test_cmp expect out' git log HEAD > log GIT_DIR=non-existing git shortlog -w < log > out -test_expect_success 'shortlog from non-git directory' 'diff -u expect out' +test_expect_success 'shortlog from non-git directory' 'test_cmp expect out' test_done