summaryrefslogtreecommitdiff
path: root/server/test/find_lib/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-08 19:29:40 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-08 19:29:40 +0800
commitf76813d8a2e4ae3204b549259fe714806807e03d (patch)
tree2386f6a295cedc9de5544455f904a4f1d97e64db /server/test/find_lib/init.lua
parent4fcc1fda1276fad2daf6c09e2ffddc8c01206aae (diff)
downloadlua-language-server-f76813d8a2e4ae3204b549259fe714806807e03d.zip
修正找lib的一个bug
Diffstat (limited to 'server/test/find_lib/init.lua')
-rw-r--r--server/test/find_lib/init.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/test/find_lib/init.lua b/server/test/find_lib/init.lua
index 09f0997d..e317c500 100644
--- a/server/test/find_lib/init.lua
+++ b/server/test/find_lib/init.lua
@@ -21,7 +21,6 @@ function TEST(fullkey)
local var = result.var
assert(var)
local _, name = findLib(var)
- assert(name)
assert(name == fullkey)
end
end
@@ -102,3 +101,7 @@ local filesystem = require 'bee.filesystem'
ROOT = filesystem.<?current_path?>()
]]
+
+TEST(nil)[[
+print(<?insert?>)
+]]