summaryrefslogtreecommitdiff
path: root/server-beta/test/crossfile
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/test/crossfile')
-rw-r--r--server-beta/test/crossfile/definition.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/server-beta/test/crossfile/definition.lua b/server-beta/test/crossfile/definition.lua
index f218bf69..2f70e5e8 100644
--- a/server-beta/test/crossfile/definition.lua
+++ b/server-beta/test/crossfile/definition.lua
@@ -380,6 +380,25 @@ TEST {
}
}
+TEST {
+ {
+ path = 'a.lua',
+ content = [[
+ local <!x!>
+ return {
+ <!x!> = x,
+ }
+ ]],
+ },
+ {
+ path = 'b.lua',
+ content = [[
+ local t = require 'a'
+ print(t.<?x?>)
+ ]],
+ },
+}
+
--TEST {
-- {
-- path = 'a.lua',