summaryrefslogtreecommitdiff
path: root/t/chainlint/broken-chain.test
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/broken-chain.test')
-rw-r--r--t/chainlint/broken-chain.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/t/chainlint/broken-chain.test b/t/chainlint/broken-chain.test
new file mode 100644
index 0000000000..3cc67b65d0
--- /dev/null
+++ b/t/chainlint/broken-chain.test
@@ -0,0 +1,8 @@
+(
+ foo &&
+# LINT: missing "&&" from 'bar'
+ bar
+ baz &&
+# LINT: final statement before closing ")" legitimately lacks "&&"
+ wop
+)