ardupilot/libraries/AP_Scripting/tests/modules/test/nested.lua

11 lines
204 B
Lua

-- Description: Test require()ing another script
local nested = {}
nested.top = require('test/top')
-- create some test functions to call
function nested.call_fn()
return "nested"
end
return nested