summaryrefslogtreecommitdiff
path: root/server/test/hover
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-08-05 20:32:14 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-08-05 20:32:14 +0800
commitde11f4a1d0f6dc17c115c729f878820985236602 (patch)
treea8b05e9c42ef6b5dd56a0d4524c5d753df954f4c /server/test/hover
parentfdb6fcbab260ffc829550ac59c952791d0ed18b6 (diff)
downloadlua-language-server-de11f4a1d0f6dc17c115c729f878820985236602.zip
修正因字符串字面量为不可见字符导致hover无法显示的bug
Diffstat (limited to 'server/test/hover')
-rw-r--r--server/test/hover/init.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/test/hover/init.lua b/server/test/hover/init.lua
index 88bc13d5..ea2631d4 100644
--- a/server/test/hover/init.lua
+++ b/server/test/hover/init.lua
@@ -466,6 +466,11 @@ function n<next>(table: table [, index: any])
]]
TEST[[
+local <?x?> = '\a'
+]]
+'local x: string = "\007"'
+
+TEST[[
---@class Class
local <?x?> = class()
]]