mirror of
https://github.com/git/git.git
synced 2026-03-04 14:37:35 +01:00
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 <abdobngad@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
52a6674a4d
commit
c4e00c1c6b
722
t/t7004-tag.sh
722
t/t7004-tag.sh
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user