From 818a86ae8e4afe75f0521967125cdf1cca6b26f0 Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Fri, 5 May 2017 15:02:32 +0200 Subject: Added missing parameter to luaL_loadbufferx in luaB_load --- tests/test-suite/calls.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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 -- cgit v1.2.3-70-g09d2