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