1
0
Fork 0
mirror of https://github.com/dragonfireclient/dragonfireclient.git synced 2024-11-23 19:24:01 -05:00
dragonfireclient/games/devtest/mods/unittests/inside_async_env.lua

15 lines
336 B
Lua

unittests = {}
core.log("info", "Hello World")
function unittests.async_test()
assert(core == minetest)
-- stuff that should not be here
assert(not core.get_player_by_name)
assert(not core.set_node)
assert(not core.object_refs)
-- stuff that should be here
assert(ItemStack)
assert(core.registered_items[""])
return true
end