summaryrefslogtreecommitdiff
path: root/t/t2016-checkout-patch.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t2016-checkout-patch.sh')
-rwxr-xr-xt/t2016-checkout-patch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t2016-checkout-patch.sh b/t/t2016-checkout-patch.sh
index a463b13..9cd0ac4 100755
--- a/t/t2016-checkout-patch.sh
+++ b/t/t2016-checkout-patch.sh
@@ -32,7 +32,7 @@ test_expect_success PERL 'git checkout -p' '
'
test_expect_success PERL 'git checkout -p with staged changes' '
- set_state dir/foo work index
+ set_state dir/foo work index &&
(echo n; echo y) | git checkout -p &&
verify_saved_state bar &&
verify_state dir/foo index index