aboutsummaryrefslogtreecommitdiff
path: root/tests/test-suite/inprogress
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-suite/inprogress')
-rw-r--r--tests/test-suite/inprogress/errors.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-suite/inprogress/errors.js b/tests/test-suite/inprogress/errors.js
index 730a6f3..1ecb711 100644
--- a/tests/test-suite/inprogress/errors.js
+++ b/tests/test-suite/inprogress/errors.js
@@ -1034,7 +1034,7 @@ test("[test-suite] errors: non string messages", function (t) {
lualib.luaL_openlibs(L);
- lauxlib.luaL_loadstring(L, lua.to_luastring(prefix + luaCode));
+ lauxlib.luaL_loadbuffer(L, lua.to_luastring(prefix + luaCode), null, lua.to_luastring("@errors.lua"));
}, "Lua program loaded without error");