aboutsummaryrefslogtreecommitdiff
path: root/tests/manual-tests
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-04-26 17:15:37 +1000
committerdaurnimator <quae@daurnimator.com>2017-04-26 17:21:52 +1000
commit46049c9df73a446192957af1f50df19167c79f07 (patch)
treee055ff69c29a6faf8aec40cd2dc47bb5e245ce05 /tests/manual-tests
parentef7bc7c1f8684af04da5d9e91fecf6ce82ecf397 (diff)
downloadfengari-46049c9df73a446192957af1f50df19167c79f07.tar.gz
fengari-46049c9df73a446192957af1f50df19167c79f07.tar.bz2
fengari-46049c9df73a446192957af1f50df19167c79f07.zip
Remove lua.CT and lua.constant_types (still available from defs)
Diffstat (limited to 'tests/manual-tests')
-rwxr-xr-xtests/manual-tests/lua-cli.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual-tests/lua-cli.js b/tests/manual-tests/lua-cli.js
index f11e833..322a963 100755
--- a/tests/manual-tests/lua-cli.js
+++ b/tests/manual-tests/lua-cli.js
@@ -193,7 +193,7 @@ for (let i = 1; i < script; i++) {
}
const pushargs = function(L) {
- if (lapi.lua_getglobal(L, lua.to_luastring("arg")) !== lua.constant_types.LUA_TTABLE)
+ if (lapi.lua_getglobal(L, lua.to_luastring("arg")) !== lua.LUA_TTABLE)
lauxlib.luaL_error(L, lua.to_luastring("'arg' is not a table"));
let n = lauxlib.luaL_len(L, -1);
lauxlib.luaL_checkstack(L, n+3, lua.to_luastring("too many arguments to script"));