summaryrefslogtreecommitdiff
path: root/tests/test-suite/calls.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-05-05 15:02:32 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-05-05 15:02:32 +0200
commit818a86ae8e4afe75f0521967125cdf1cca6b26f0 (patch)
tree16bb704ab9d38cf397276329ca2b86410551648d /tests/test-suite/calls.js
parenta8083c0397a20233866b4f69a3e393d843fb417d (diff)
downloadfengari-818a86ae8e4afe75f0521967125cdf1cca6b26f0.tar.gz
fengari-818a86ae8e4afe75f0521967125cdf1cca6b26f0.tar.bz2
fengari-818a86ae8e4afe75f0521967125cdf1cca6b26f0.zip
Added missing parameter to luaL_loadbufferx in luaB_load
Diffstat (limited to 'tests/test-suite/calls.js')
-rw-r--r--tests/test-suite/calls.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-suite/calls.js b/tests/test-suite/calls.js
index 08e72cc..f7ea559 100644
--- a/tests/test-suite/calls.js
+++ b/tests/test-suite/calls.js
@@ -392,8 +392,8 @@ test("[test-suite] calls: test for generic load", function (t) {
assert(a() == "\0" and _G.x == 33)
assert(debug.getinfo(a).source == "modname")
-- cannot read text in binary mode
- -- cannotload("attempt to load a text chunk", load(read1(x), "modname", "b", {}))
- -- cannotload("attempt to load a text chunk", load(x, "modname", "b"))
+ cannotload("attempt to load a text chunk", load(read1(x), "modname", "b", {}))
+ cannotload("attempt to load a text chunk", load(x, "modname", "b"))
a = assert(load(function () return nil end))
a() -- empty chunk