diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-08-23 17:07:24 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-08-23 17:07:24 +0800 |
commit | 66b68f8453d98dbb3197926e0ad96764a4513ca2 (patch) | |
tree | fb88fef20b52adf114627ffae52873514b906ec3 /test | |
parent | ee20f068952aa4586e2976234aafd68d27190ec2 (diff) | |
download | lua-language-server-66b68f8453d98dbb3197926e0ad96764a4513ca2.zip |
only check one result
Diffstat (limited to 'test')
-rw-r--r-- | test/crossfile/diagnostic.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/crossfile/diagnostic.lua b/test/crossfile/diagnostic.lua index 3d4eb552..a430cb4e 100644 --- a/test/crossfile/diagnostic.lua +++ b/test/crossfile/diagnostic.lua @@ -135,3 +135,22 @@ TEST { content = 'require "f.a"', }, } + +TEST { + { + path = 'a/init.lua', + content = '', + }, + { + path = 'f/a.lua', + content = '', + }, + { + path = 'b.lua', + content = 'require "a"', + }, + { + path = 'c.lua', + content = 'require "f.a"', + }, +} |