diff options
Diffstat (limited to 'third_party/git/t/chainlint/command-substitution.test')
-rw-r--r-- | third_party/git/t/chainlint/command-substitution.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/git/t/chainlint/command-substitution.test b/third_party/git/t/chainlint/command-substitution.test new file mode 100644 index 000000000000..3bbb002a4c74 --- /dev/null +++ b/third_party/git/t/chainlint/command-substitution.test @@ -0,0 +1,11 @@ +( + foo && +# LINT: closing ")" of $(...) not misinterpreted as subshell-closing ")" + bar=$(gobble) && + baz +) && +( +# LINT: missing "&&" on $(...) + bar=$(gobble blocks) + baz +) |