summaryrefslogtreecommitdiff
path: root/server/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-07 18:40:34 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-07 18:40:34 +0800
commit11acb1981bf74b012cd02e4c140577f29692fc98 (patch)
treeaf2ff463280d7a09a8ed94d2ba23c80f9cffe866 /server/test
parentf37431779e9975d0c71c196ac563ccecdb3f79ea (diff)
downloadlua-language-server-11acb1981bf74b012cd02e4c140577f29692fc98.zip
支持昵称
Diffstat (limited to 'server/test')
-rw-r--r--server/test/find_lib/init.lua10
1 files changed, 8 insertions, 2 deletions
diff --git a/server/test/find_lib/init.lua b/server/test/find_lib/init.lua
index 06e04912..09f0997d 100644
--- a/server/test/find_lib/init.lua
+++ b/server/test/find_lib/init.lua
@@ -93,6 +93,12 @@ TEST '*string:sub' [[
('xxx').<?sub?> = 1
]]
-TEST '*string:sub' [[
-('xxx'):<?sub?>()
+TEST 'filesystem' [[
+local <?fs?> = require 'bee.filesystem'
+]]
+
+TEST 'fs.current_path' [[
+local filesystem = require 'bee.filesystem'
+
+ROOT = filesystem.<?current_path?>()
]]