summaryrefslogtreecommitdiff
path: root/t/chainlint
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint')
-rw-r--r--t/chainlint/negated-one-liner.expect4
-rw-r--r--t/chainlint/one-liner.expect6
-rw-r--r--t/chainlint/semicolon.expect14
-rw-r--r--t/chainlint/subshell-one-liner.expect8
4 files changed, 16 insertions, 16 deletions
diff --git a/t/chainlint/negated-one-liner.expect b/t/chainlint/negated-one-liner.expect
index cf18429d03..60baf84b7a 100644
--- a/t/chainlint/negated-one-liner.expect
+++ b/t/chainlint/negated-one-liner.expect
@@ -1,5 +1,5 @@
! (foo && bar) &&
! (foo && bar) >baz &&
-?!SEMI?!! (foo; bar) &&
-?!SEMI?!! (foo; bar) >baz
+! (foo; ?!SEMI?! bar) &&
+! (foo; ?!SEMI?! bar) >baz
diff --git a/t/chainlint/one-liner.expect b/t/chainlint/one-liner.expect
index c64058f7af..3b46554728 100644
--- a/t/chainlint/one-liner.expect
+++ b/t/chainlint/one-liner.expect
@@ -2,8 +2,8 @@
(foo && bar) |
(foo && bar) >baz &&
-?!SEMI?!(foo; bar) &&
-?!SEMI?!(foo; bar) |
-?!SEMI?!(foo; bar) >baz &&
+(foo; ?!SEMI?! bar) &&
+(foo; ?!SEMI?! bar) |
+(foo; ?!SEMI?! bar) >baz &&
(foo "bar; baz")
diff --git a/t/chainlint/semicolon.expect b/t/chainlint/semicolon.expect
index ffc87bdffb..d2d804f5b0 100644
--- a/t/chainlint/semicolon.expect
+++ b/t/chainlint/semicolon.expect
@@ -1,20 +1,20 @@
(
-?!SEMI?! cat foo ; echo bar ?!AMP?!
-?!SEMI?! cat foo ; echo bar
+ cat foo ; ?!SEMI?! echo bar ?!AMP?!
+ cat foo ; ?!SEMI?! echo bar
>) &&
(
-?!SEMI?! cat foo ; echo bar &&
-?!SEMI?! cat foo ; echo bar
+ cat foo ; ?!SEMI?! echo bar &&
+ cat foo ; ?!SEMI?! echo bar
>) &&
(
echo "foo; bar" &&
-?!SEMI?! cat foo; echo bar
+ cat foo; ?!SEMI?! echo bar
>) &&
(
-?!SEMI?! foo;
+ foo; ?!SEMI?!
>) &&
(
cd foo &&
for i in a b c; do
-?!SEMI?! echo;
+ echo; ?!SEMI?!
> done)
diff --git a/t/chainlint/subshell-one-liner.expect b/t/chainlint/subshell-one-liner.expect
index ec77aa5b95..432217801b 100644
--- a/t/chainlint/subshell-one-liner.expect
+++ b/t/chainlint/subshell-one-liner.expect
@@ -2,13 +2,13 @@
(foo && bar) &&
(foo && bar) |
(foo && bar) >baz &&
-?!SEMI?! (foo; bar) &&
-?!SEMI?! (foo; bar) |
-?!SEMI?! (foo; bar) >baz &&
+ (foo; ?!SEMI?! bar) &&
+ (foo; ?!SEMI?! bar) |
+ (foo; ?!SEMI?! bar) >baz &&
(foo || exit 1) &&
(foo || exit 1) |
(foo || exit 1) >baz &&
(foo && bar) ?!AMP?!
-?!SEMI?! (foo && bar; baz) ?!AMP?!
+ (foo && bar; ?!SEMI?! baz) ?!AMP?!
foobar
>)