diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-08 19:29:40 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-08 19:29:40 +0800 |
commit | f76813d8a2e4ae3204b549259fe714806807e03d (patch) | |
tree | 2386f6a295cedc9de5544455f904a4f1d97e64db /server/test | |
parent | 4fcc1fda1276fad2daf6c09e2ffddc8c01206aae (diff) | |
download | lua-language-server-f76813d8a2e4ae3204b549259fe714806807e03d.zip |
修正找lib的一个bug
Diffstat (limited to 'server/test')
-rw-r--r-- | server/test/find_lib/init.lua | 5 |
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?>) +]] |