mirror of
https://github.com/minetest/minetest.git
synced 2024-12-25 23:47:29 +01:00
16 lines
336 B
Lua
16 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
|