git/t/chainlint/cuddled-if-then-else.test

10 lines
194 B
Plaintext

test_expect_success 'cuddled-if-then-else' '
# LINT: "if" cuddled with "(" and ")"; indented with spaces, not tabs
(if test -z ""; then
echo empty
else
echo bizzy
fi) &&
echo foobar
'