Add a test for boolean comparison.
This commit is contained in:
parent
563fd1f6db
commit
71e6da39ee
@ -3,5 +3,7 @@
|
||||
"int": 7,
|
||||
"alpha": 21,
|
||||
"beta": "21",
|
||||
"null": null
|
||||
"null": null,
|
||||
"true_value": true,
|
||||
"false_value": false
|
||||
}
|
||||
|
@ -21,3 +21,4 @@ beta is {beta}{~n}
|
||||
{@gt key="a" value="A"}"a" is greater than "A"{:else}"a" is less than or equal to "A"{/gt}{~n}
|
||||
{@gt key="a" value="}"}"a" is greater than "}"{:else}"a" is less than or equal to "}"{/gt}{~n}
|
||||
{@gt key="☃" value="☄"}"☃" is greater than "☄"{:else}"☃" is less than or equal to "☄"{/gt}{~n}
|
||||
{@gt key=true_value value=false_value}true is greater than false{:else}true is less than or equal to false{/gt}{~n}
|
||||
|
Loading…
Reference in New Issue
Block a user