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