summaryrefslogtreecommitdiffhomepage
path: root/tests/02_runtime
diff options
context:
space:
mode:
Diffstat (limited to 'tests/02_runtime')
-rw-r--r--tests/02_runtime/02_this7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/02_runtime/02_this b/tests/02_runtime/02_this
index 2c47811..d41be7f 100644
--- a/tests/02_runtime/02_this
+++ b/tests/02_runtime/02_this
@@ -1,17 +1,14 @@
The "this" object accesses the current function context.
-- Expect stdout --
-
--- End --
true
true
+-- End --
+
-- Testcase --
{%
- local g = this;
-
// Functions not invoked on objects have no this context
function test() {
- print(this, "\n");
return (this === null);
}