Skip to content

Commit c4e00c1

Browse files
AbdAlRahmanGadgitster
authored andcommitted
t7004: do not prepare things outside test_expect_success
Do not prepare expect and other things outside test_expect_success. If such code fails for some reason, we won't necessarily hear about it in a timely fashion (or perhaps at all). By placing all code inside `test_expect_success` it ensures that we know immediately if it fails. Also add '\' before EOF to avoid shell interpolation and '-' to allow indentation of the body. Signed-off-by: AbdAlRahman Gad <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 52a6674 commit c4e00c1

File tree

1 file changed

+360
-338
lines changed

1 file changed

+360
-338
lines changed

0 commit comments

Comments
 (0)