summaryrefslogtreecommitdiff
path: root/test/diagnostics
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-08 16:27:36 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-08 16:27:36 +0800
commitf33b06fd928fd3541eea99b11ee6caf9b249a49b (patch)
tree3b46df792bd8324f07ee03c003b50ffa9f413af8 /test/diagnostics
parent78b3a317d66d3066ccda8570737e2ecbe76c6568 (diff)
downloadlua-language-server-f33b06fd928fd3541eea99b11ee6caf9b249a49b.zip
try flush cache
Diffstat (limited to 'test/diagnostics')
-rw-r--r--test/diagnostics/common.lua14
1 files changed, 9 insertions, 5 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua
index 722bdea7..6aa1dd6a 100644
--- a/test/diagnostics/common.lua
+++ b/test/diagnostics/common.lua
@@ -1378,8 +1378,12 @@ TEST [[
---@class A 1
]]
---TEST [[
---local value
---value = '1'
---value = value:gsub()
---]]
+TEST [[
+return ('1'):gsub()
+]]
+
+TEST [[
+local value
+value = '1'
+value = value:gsub()
+]]