From 041820e744c62da20e8dfa5ebdba5aa0d4639d07 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Mon, 22 May 2017 00:35:39 +1000 Subject: tests/test-suite/inprogress/errors.js: Pass file name so that test passes --- tests/test-suite/inprogress/errors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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"); -- cgit v1.2.3-54-g00ecf