summaryrefslogtreecommitdiff
path: root/t/t5406-remote-rejects.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t5406-remote-rejects.sh')
-rwxr-xr-xt/t5406-remote-rejects.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5406-remote-rejects.sh b/t/t5406-remote-rejects.sh
index 46b2cb4..59e80a5 100755
--- a/t/t5406-remote-rejects.sh
+++ b/t/t5406-remote-rejects.sh
@@ -17,7 +17,7 @@ test_expect_success 'setup' '
git commit -a -m 2
'
-test_expect_success 'push reports error' '! git push 2>stderr'
+test_expect_success 'push reports error' 'test_must_fail git push 2>stderr'
test_expect_success 'individual ref reports error' 'grep rejected stderr'