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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
204 B
Lua
Raw Normal View History

2023-04-04 23:35:20 -03:00
-- 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