diff --git a/t/t7502-status.sh b/t/t7502-status.sh
index e4bfcaece0c3ac4ea4b33521e84bd7fc1c19422e..80a438d4d988baa54a25e5725665904c6c45f431 100755 (executable)
--- a/t/t7502-status.sh
+++ b/t/t7502-status.sh
test_expect_success 'status (2)' '
git status > output &&
- git diff expect output
+ test_cmp expect output
'
test_expect_success 'status with relative paths' '
(cd dir1 && git status) > output &&
- git diff expect output
+ test_cmp expect output
'
git config status.relativePaths false
(cd dir1 && git status) > output &&
- git diff expect output
+ test_cmp expect output
'