Sign in
code
/
git
/
5eab3a7a11a1bdef512325829cb348a428f2b4ea
/
.
/
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
)
'