aboutsummaryrefslogtreecommitdiffstats
path: root/t/chainlint/block.test
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/block.test')
-rw-r--r--t/chainlint/block.test15
1 files changed, 14 insertions, 1 deletions
diff --git a/t/chainlint/block.test b/t/chainlint/block.test
index 0a82fd579f..4ab69a4afc 100644
--- a/t/chainlint/block.test
+++ b/t/chainlint/block.test
@@ -11,4 +11,17 @@
echo c
}
baz
-)
+) &&
+
+# LINT: ";" not allowed in place of "&&"
+{
+ echo a; echo b
+} &&
+{ echo a; echo b; } &&
+
+# LINT: "}" inside string not mistaken as end of block
+{
+ echo "${var}9" &&
+ echo "done"
+} &&
+finis