Also fix the jump if its the last one
Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
parent
ff308649b9
commit
ae379df9db
7 changed files with 185 additions and 2 deletions
11
tests/cases/if_else_if.nomo
Normal file
11
tests/cases/if_else_if.nomo
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"test": false,
|
||||
"another_test": true,
|
||||
"stuff": "more"
|
||||
}
|
||||
---
|
||||
{{ if test }}
|
||||
Not Hello World! :C
|
||||
{{ else if another_test }}
|
||||
Hello World!
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue