summaryrefslogtreecommitdiff
path: root/t/t7502-status.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t7502-status.sh')
-rwxr-xr-xt/t7502-status.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t7502-status.sh b/t/t7502-status.sh
index e00607490b..cd08516e6d 100755
--- a/t/t7502-status.sh
+++ b/t/t7502-status.sh
@@ -33,7 +33,7 @@ test_expect_success 'setup' '
test_expect_success 'status (1)' '
- grep -e "use \"git rm --cached <file>\.\.\.\" to unstage" output
+ grep "use \"git rm --cached <file>\.\.\.\" to unstage" output
'
@@ -146,7 +146,7 @@ cat <<EOF >expect
EOF
test_expect_success 'status of partial commit excluding new file in index' '
git status dir1/modified >output &&
- diff -u expect output
+ test_cmp expect output
'
test_done