Add a test for boolean comparison.

This commit is contained in:
Tom Alexander 2020-05-16 13:46:31 -04:00
parent 563fd1f6db
commit 71e6da39ee
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 4 additions and 1 deletions

View File

@ -3,5 +3,7 @@
"int": 7,
"alpha": 21,
"beta": "21",
"null": null
"null": null,
"true_value": true,
"false_value": false
}

View File

@ -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}