summaryrefslogtreecommitdiff
path: root/test/crossfile
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-12-01 21:13:57 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-12-01 21:13:57 +0800
commit90b538557cb305d53a64e240185675f9fc020d94 (patch)
treec7b6e874fb425e5e86b8f8615404d145c9468e51 /test/crossfile
parent98dc39631314a2c6c788655c617c9c45d1cce51f (diff)
downloadlua-language-server-90b538557cb305d53a64e240185675f9fc020d94.zip
fix #826
Diffstat (limited to 'test/crossfile')
-rw-r--r--test/crossfile/hover.lua32
1 files changed, 16 insertions, 16 deletions
diff --git a/test/crossfile/hover.lua b/test/crossfile/hover.lua
index 5c1ad130..86471936 100644
--- a/test/crossfile/hover.lua
+++ b/test/crossfile/hover.lua
@@ -988,22 +988,22 @@ p: T
-- comment 4
```]]}
-TEST {{ path = 'a.lua', content = '', }, {
- path = 'b.lua',
- content = [[
----@param x number # aaa
-local f
-
-function f(<?x?>) end
-]]
-},
-hover = [[
-```lua
-local x: number
-```
-
----
- aaa]]}
+--TEST {{ path = 'a.lua', content = '', }, {
+-- path = 'b.lua',
+-- content = [[
+-----@param x number # aaa
+--local f
+--
+--function f(<?x?>) end
+--]]
+--},
+--hover = [[
+--```lua
+--local x: number
+--```
+--
+-----
+-- aaa]]}
TEST {{ path = 'a.lua', content = '', }, {
path = 'b.lua',