diff options
Diffstat (limited to 't/chainlint/semicolon.expect')
-rw-r--r-- | t/chainlint/semicolon.expect | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/t/chainlint/semicolon.expect b/t/chainlint/semicolon.expect new file mode 100644 index 0000000000..2b499fbe70 --- /dev/null +++ b/t/chainlint/semicolon.expect @@ -0,0 +1,19 @@ +2 ( +3 cat foo ; ?!LINT: missing '&&'?! echo bar ?!LINT: missing '&&'?! +4 cat foo ; ?!LINT: missing '&&'?! echo bar +5 ) && +6 ( +7 cat foo ; ?!LINT: missing '&&'?! echo bar && +8 cat foo ; ?!LINT: missing '&&'?! echo bar +9 ) && +10 ( +11 echo "foo; bar" && +12 cat foo; ?!LINT: missing '&&'?! echo bar +13 ) && +14 ( +15 foo; +16 ) && +17 (cd foo && +18 for i in a b c; do +19 echo; ?!LINT: missing '|| exit 1'?! +20 done) |