summaryrefslogtreecommitdiff
path: root/test/test-suite/vararg.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-suite/vararg.test.js')
-rw-r--r--test/test-suite/vararg.test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-suite/vararg.test.js b/test/test-suite/vararg.test.js
index 78439f1..0538541 100644
--- a/test/test-suite/vararg.test.js
+++ b/test/test-suite/vararg.test.js
@@ -45,7 +45,7 @@ test("[test-suite] vararg: testing vararg", () => {
assert(a[1] == b and a[2] == c and a.n == 2)
a = vararg(call(call, {c12, {1,2}}))
assert(a.n == 2 and a[1] == 55 and a[2] == 2)
- a = call(print, {'+'})
+ a = call(function()end, {'+'})
assert(a == nil)
local t = {1, 10}