about summary refs log blame commit diff
path: root/third_party/git/t/chainlint/command-substitution.test
blob: 3bbb002a4c746c8e4cdd4cb9b80e60224b3bd2a9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                        
(
	foo &&
# LINT: closing ")" of $(...) not misinterpreted as subshell-closing ")"
	bar=$(gobble) &&
	baz
) &&
(
# LINT: missing "&&" on $(...)
	bar=$(gobble blocks)
	baz
)