aboutsummaryrefslogtreecommitdiff
path: root/tests/lua.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lua.js')
-rw-r--r--tests/lua.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lua.js b/tests/lua.js
index b2e0a6b..04b8250 100644
--- a/tests/lua.js
+++ b/tests/lua.js
@@ -20,7 +20,7 @@ test('string.lua', function (t) {
linit.luaL_openlibs(L);
- lauxlib.luaL_loadstring(L, luaCode);
+ lauxlib.luaL_loadstring(L, lua.to_luastring(luaCode));
}, "Lua program loaded without error");