Add testcase for invalid if statement (#15313)

This commit is contained in:
Clyybber 2020-09-12 14:28:19 +02:00 • committed by GitHub
commit 60ad95f799
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,12 @@
discard """
errormsg: "invalid indentation"
line: 9
column: 3
"""
if true:
echo "a"
elif:
echo "b"
else:
echo "c"