git/t/chainlint/nested-subshell-comment.test

16 lines
285 B
Plaintext

test_expect_success 'nested-subshell-comment' '
(
foo &&
(
bar &&
# LINT: ")" in comment in nested subshell not misinterpreted as closing ")"
# bottles wobble while fiddles gobble
# minor numbers of cows (or do they?)
baz &&
snaff
# LINT: missing "&&" on ")"
)
fuzzy
)
'