summaryrefslogtreecommitdiff
path: root/server/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-07 12:15:10 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-07 12:15:10 +0800
commitc0138bc76ff80e9e7cc524c8b335f6bf8e6c1e28 (patch)
treed3e9b91971aab515d2a1e3f6be642fe06f683f6d /server/test
parent0414a4e0179c158dc66d46e22d2c7cb2c3b3608e (diff)
downloadlua-language-server-c0138bc76ff80e9e7cc524c8b335f6bf8e6c1e28.zip
支持库
Diffstat (limited to 'server/test')
-rw-r--r--server/test/find_lib/init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/test/find_lib/init.lua b/server/test/find_lib/init.lua
index 29297bcf..afa9ec2a 100644
--- a/server/test/find_lib/init.lua
+++ b/server/test/find_lib/init.lua
@@ -49,3 +49,9 @@ TEST 'table' [[
TEST 'table' [[
local <?xx?> = require 'table'
]]
+
+TEST 'table' [[
+local rq = require
+local lib = 'table'
+local <?xx?> = rq(lib)
+]]