forked from enlightenment/efl
elua lib: tests for require/appload refs
This commit is contained in:
parent
a6c5ec55a7
commit
259f9067c2
|
@ -50,6 +50,14 @@ START_TEST(elua_api)
|
|||
fail_if(!elua_state_i18n_setup(st));
|
||||
fail_if(!elua_state_io_setup(st));
|
||||
|
||||
fail_if(!elua_state_require_ref_push(st));
|
||||
fail_if(lua_type(lst, -1) != LUA_TFUNCTION);
|
||||
lua_pop(lst, 1);
|
||||
|
||||
fail_if(!elua_state_appload_ref_push(st));
|
||||
fail_if(lua_type(lst, -1) != LUA_TFUNCTION);
|
||||
lua_pop(lst, 1);
|
||||
|
||||
elua_state_free(st);
|
||||
|
||||
elua_shutdown();
|
||||
|
|
Loading…
Reference in New Issue