mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +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
|