summaryrefslogtreecommitdiff
path: root/test/crossfile
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-20 15:54:56 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-20 15:54:56 +0800
commit99691a901cc26bc44720ced49729d436a09129ba (patch)
treefc57d2d0aecd6081e360c637bf284c9a98983e65 /test/crossfile
parenta6ed5f5845d3a859bd88c72f47bc4fa9d120b2df (diff)
downloadlua-language-server-99691a901cc26bc44720ced49729d436a09129ba.zip
update
Diffstat (limited to 'test/crossfile')
-rw-r--r--test/crossfile/hover.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/crossfile/hover.lua b/test/crossfile/hover.lua
index 0bf8165b..08cde574 100644
--- a/test/crossfile/hover.lua
+++ b/test/crossfile/hover.lua
@@ -58,8 +58,8 @@ function TEST(expect)
local hover = core.byUri(sourceUri, sourcePos)
assert(hover)
- hover = tostring(hover):gsub('\r\n', '\n')
- assert(eq(hover, expect.hover))
+ local content = tostring(hover):gsub('\r\n', '\n')
+ assert(eq(content, expect.hover))
end
TEST {