summaryrefslogtreecommitdiff
path: root/test/full/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/full/init.lua')
-rw-r--r--test/full/init.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/full/init.lua b/test/full/init.lua
new file mode 100644
index 00000000..f370671e
--- /dev/null
+++ b/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'