aboutsummaryrefslogtreecommitdiff
path: root/tests/test-suite/inprogress
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-05-22 00:35:39 +1000
committerdaurnimator <quae@daurnimator.com>2017-05-22 00:50:46 +1000
commit041820e744c62da20e8dfa5ebdba5aa0d4639d07 (patch)
treead850d337cde9cdbae6a8de455501787ed8e7549 /tests/test-suite/inprogress
parentdbd48417e3d502e32da9d339ac904547c8c5e0bc (diff)
downloadfengari-041820e744c62da20e8dfa5ebdba5aa0d4639d07.tar.gz
fengari-041820e744c62da20e8dfa5ebdba5aa0d4639d07.tar.bz2
fengari-041820e744c62da20e8dfa5ebdba5aa0d4639d07.zip
tests/test-suite/inprogress/errors.js: Pass file name so that test passes
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");