Sign in
◑
Theme
code
/
git
/
a039ee6757c19b7f341e9796564ea7c93faca6b5
/
.
/
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
)
'