summaryrefslogtreecommitdiffstats
path: root/t/chainlint/semicolon.expect
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/semicolon.expect')
-rw-r--r--t/chainlint/semicolon.expect19
1 files changed, 19 insertions, 0 deletions
diff --git a/t/chainlint/semicolon.expect b/t/chainlint/semicolon.expect
new file mode 100644
index 0000000..3aa2259
--- /dev/null
+++ b/t/chainlint/semicolon.expect
@@ -0,0 +1,19 @@
+(
+ cat foo ; ?!AMP?! echo bar ?!AMP?!
+ cat foo ; ?!AMP?! echo bar
+) &&
+(
+ cat foo ; ?!AMP?! echo bar &&
+ cat foo ; ?!AMP?! echo bar
+) &&
+(
+ echo "foo; bar" &&
+ cat foo; ?!AMP?! echo bar
+) &&
+(
+ foo;
+) &&
+(cd foo &&
+ for i in a b c; do
+ echo; ?!LOOP?!
+ done)