summaryrefslogtreecommitdiff
path: root/test/diagnostics/common.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-22 16:13:50 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-22 16:13:50 +0800
commite5d692cb0845e5de7988904017440bd4db551bb7 (patch)
treedcfad1a5b739f3f7987d2baf5c4d6979b754b78f /test/diagnostics/common.lua
parent82c3b68c6b80f754aa9fc12a4f029eba237e2807 (diff)
downloadlua-language-server-e5d692cb0845e5de7988904017440bd4db551bb7.zip
`param-type-mismatch`
Diffstat (limited to 'test/diagnostics/common.lua')
-rw-r--r--test/diagnostics/common.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua
index 7d745039..5de7d5db 100644
--- a/test/diagnostics/common.lua
+++ b/test/diagnostics/common.lua
@@ -239,7 +239,7 @@ local m = {}
function m:x(a, b)
return a, b
end
-m.x(1, 2, 3, <!4!>)
+m.x(m, 2, 3, <!4!>)
]]
TEST [[
@@ -469,7 +469,7 @@ local mt = {}
function mt:f(a, b)
return a, b
end
-mt.f(1, 2, 3, <!4!>)
+mt.f(mt, 2, 3, <!4!>)
]]
@@ -569,7 +569,7 @@ local m = {}
function m:open()
end
-m.open('ok')
+m.open(m)
]]
TEST [[