Sign in
code
/
git
/
19f5ce0bc23b04401acd6f838fae4c6a23f09ecf
/
.
/
t
/
chainlint
/
command-substitution.test
blob: 494d671e80ab6698bbf0c24b2dc542e29539908f [
file
]
test_expect_success
'command-substitution'
'
(
foo &&
# LINT: closing ")" of $(...) not misinterpreted as subshell-closing ")"
bar=$(gobble) &&
baz
) &&
(
# LINT: missing "&&" on $(...)
bar=$(gobble blocks)
baz
)
'