diff options
Diffstat (limited to 'script-beta/test/full/init.lua')
-rw-r--r-- | script-beta/test/full/init.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/script-beta/test/full/init.lua b/script-beta/test/full/init.lua new file mode 100644 index 00000000..f370671e --- /dev/null +++ b/script-beta/test/full/init.lua @@ -0,0 +1,13 @@ +local parser = require 'parser' + +rawset(_G, 'TEST', true) + +function TEST(script) + local ast = parser:compile(script, 'lua', 'Lua 5.3') + assert(ast) + return ast +end + +require 'full.normal' +require 'full.example' +require 'full.dirty' |