aboutsummaryrefslogtreecommitdiffstats
path: root/refs/files-backend.c
diff options
context:
space:
mode:
authorAbdAlRahman Gad <abdobngad@gmail.com>2024-08-08 19:32:02 +0300
committerJunio C Hamano <gitster@pobox.com>2024-08-08 10:27:01 -0700
commitc4e00c1c6b08a784813d4a2da969e388245ee1ab (patch)
treec6bae49bcad777dbf38d2ec542e95f9bf6faf839 /refs/files-backend.c
parentt7004: use indented here-doc (diff)
downloadgit-c4e00c1c6b08a784813d4a2da969e388245ee1ab.tar.gz
git-c4e00c1c6b08a784813d4a2da969e388245ee1ab.zip
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>
Diffstat (limited to 'refs/files-backend.c')
0 files changed, 0 insertions, 0 deletions