aboutsummaryrefslogtreecommitdiffstats
path: root/t/chainlint/if-then-else.test
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/if-then-else.test')
-rw-r--r--t/chainlint/if-then-else.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/chainlint/if-then-else.test b/t/chainlint/if-then-else.test
index 9bd8e9a4c6..d2b03ca6b4 100644
--- a/t/chainlint/if-then-else.test
+++ b/t/chainlint/if-then-else.test
@@ -7,6 +7,7 @@
# LINT: last statement before 'elif' does not need "&&"
echo empty
elif test -z ""
+ then
# LINT: last statement before 'else' does not need "&&"
echo foo
else
@@ -24,5 +25,5 @@
if test -n ""; then
echo very &&
echo empty
- if
+ fi
)