| Index: lib/src/prism/tests/languages/twig/boolean_feature.test
|
| diff --git a/lib/src/prism/tests/languages/twig/boolean_feature.test b/lib/src/prism/tests/languages/twig/boolean_feature.test
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..01bb17279b3b41643069ae538923b5f7f5772657
|
| --- /dev/null
|
| +++ b/lib/src/prism/tests/languages/twig/boolean_feature.test
|
| @@ -0,0 +1,27 @@
|
| +{{ null }}
|
| +{{- true -}}
|
| +{{ false }}
|
| +
|
| +----------------------------------------------------
|
| +
|
| +[
|
| + ["tag", [
|
| + ["ld", [["punctuation", "{{"]]],
|
| + ["boolean", "null"],
|
| + ["rd", [["punctuation", "}}"]]]
|
| + ]],
|
| + ["tag", [
|
| + ["ld", [["punctuation", "{{-"]]],
|
| + ["boolean", "true"],
|
| + ["rd", [["punctuation", "-}}"]]]
|
| + ]],
|
| + ["tag", [
|
| + ["ld", [["punctuation", "{{"]]],
|
| + ["boolean", "false"],
|
| + ["rd", [["punctuation", "}}"]]]
|
| + ]]
|
| +]
|
| +
|
| +----------------------------------------------------
|
| +
|
| +Checks for booleans and null.
|
|
|