diff options
Diffstat (limited to 'third_party/git/t/chainlint/block.test')
-rw-r--r-- | third_party/git/t/chainlint/block.test | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/third_party/git/t/chainlint/block.test b/third_party/git/t/chainlint/block.test new file mode 100644 index 000000000000..d859151af1d9 --- /dev/null +++ b/third_party/git/t/chainlint/block.test @@ -0,0 +1,15 @@ +( +# LINT: missing "&&" in block not currently detected (for consistency with +# LINT: --chain-lint at top level and to provide escape hatch if needed) + foo && + { + echo a + echo b + } && + bar && +# LINT: missing "&&" at closing "}" + { + echo c + } + baz +) |