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