summaryrefslogtreecommitdiff
path: root/t/chainlint/if-then-else.expect
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/if-then-else.expect')
-rw-r--r--t/chainlint/if-then-else.expect19
1 files changed, 19 insertions, 0 deletions
diff --git a/t/chainlint/if-then-else.expect b/t/chainlint/if-then-else.expect
new file mode 100644
index 0000000000..5953c7bfbc
--- /dev/null
+++ b/t/chainlint/if-then-else.expect
@@ -0,0 +1,19 @@
+(
+ if test -n ""
+ then
+?!AMP?! echo very
+ echo empty
+ elif test -z ""
+ echo foo
+ else
+ echo foo &&
+ cat
+?!AMP?! fi
+ echo poodle
+>) &&
+(
+ if test -n ""; then
+ echo very &&
+?!AMP?! echo empty
+ if
+>)