diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-03-22 17:42:42 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-03-22 17:42:42 +0800 |
commit | c1dc77aed3f0a73db63d0eb33b30f726a07d8122 (patch) | |
tree | 03ec77767c13f86763e463d83fc5c2104e6e85ec /server/test | |
parent | 2bdca100e37eef6a5fcaacd1cf7157352afb0777 (diff) | |
download | lua-language-server-c1dc77aed3f0a73db63d0eb33b30f726a07d8122.zip |
修正一个bug
Diffstat (limited to 'server/test')
-rw-r--r-- | server/test/crossfile/completion.lua | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/server/test/crossfile/completion.lua b/server/test/crossfile/completion.lua index b93e6ba8..eaa5ef00 100644 --- a/server/test/crossfile/completion.lua +++ b/server/test/crossfile/completion.lua @@ -409,3 +409,21 @@ TEST { }, } } + +TEST { + { + path = 'a.lua', + content = [[ + local japi = require 'jass.japi' + japi.xxxaaaaxxxx + ]] + }, + { + path = 'a.lua', + content = [[ + local japi = require 'jass.japi' + japi.xxxaaaax@ + ]], + main = true, + }, +} |