Commit 53d6b939 authored by alex@thinkpad's avatar alex@thinkpad
Browse files

api_test.lua: converted to simple script, so it runs right away

--HG--
branch : lua_fix
parent ffe8d0f4aae9
-- Script API Tests
-- Test routines for the scripting API -- Test routines for the scripting API
-- Very incomplete -- When adding new Lua APIs, tests for them should go here.
require("logger") require("logger")
-- global logger -- global logger
...@@ -713,11 +715,4 @@ function api_tests() ...@@ -713,11 +715,4 @@ function api_tests()
console.hide() console.hide()
end end
testmenu = menu.new api_tests()
{
name = "Script API tests",
help = "Various tests for the Lua scripting API.",
help2 = "When adding new Lua APIs, tests for them should go here.",
select = function(this) task.create(api_tests) end,
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment