summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/00_syntax/11_misc_literals3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/00_syntax/11_misc_literals b/tests/00_syntax/11_misc_literals
index 8a654e1..4b33a78 100644
--- a/tests/00_syntax/11_misc_literals
+++ b/tests/00_syntax/11_misc_literals
@@ -9,7 +9,8 @@ The "false" keyword represents a false boolean value: false
-- End --
-- Testcase --
-The "this" keyword refers to the current function context: {{ type(this) }}
+{% local t = { f: function() { return this; } } %}
+The "this" keyword refers to the current function context: {{ type(t.f()) }}
The "null" keyword represents the null value: {{ "" + null }}
The "true" keyword represents a true boolean value: {{ true }}
The "false" keyword represents a false boolean value: {{ false }}