summaryrefslogtreecommitdiff
path: root/test/hover/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-16 22:11:23 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-16 22:11:23 +0800
commit12b087704082f6d2278c8eb06bd9ac3e7f014c1a (patch)
tree9ff1a55f036a0c125adf9eaf914c1324b236b3ad /test/hover/init.lua
parentfa518d4f9522b38aca9478ac494e9523cca475f3 (diff)
downloadlua-language-server-12b087704082f6d2278c8eb06bd9ac3e7f014c1a.zip
fix #1061
Diffstat (limited to 'test/hover/init.lua')
-rw-r--r--test/hover/init.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index f347cd99..ee66ef2b 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -1397,7 +1397,7 @@ TEST [[
local <?t?>
]]
[[
-local t: string|"enum1"|"enum2"
+local t: string|'enum1'|'enum2'
]]
TEST [[
@@ -1406,7 +1406,7 @@ TEST [[
---@type <?A?>
]]
[[
-(alias) A 展开为 string|"enum1"|"enum2"
+(alias) A 展开为 string|'enum1'|'enum2'
]]
TEST [[
@@ -1416,7 +1416,7 @@ TEST [[
local <?t?>
]]
[[
-local t: string|"enum1"|"enum2"
+local t: string|'enum1'|'enum2'
]]
TEST [[
@@ -1426,7 +1426,7 @@ TEST [[
local <?t?>
]]
[[
-local t: string|"enum1"|"enum2"
+local t: string|'enum1'|'enum2'
]]
TEST [[