summaryrefslogtreecommitdiff
path: root/test/diagnostics/common.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/diagnostics/common.lua')
-rw-r--r--test/diagnostics/common.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua
index b8d0bcd8..dc784f28 100644
--- a/test/diagnostics/common.lua
+++ b/test/diagnostics/common.lua
@@ -930,8 +930,8 @@ local v
---@type Bar
local v2
v2 = v -- TODO 这里应该给警告
-v2:method1()
-v2:<!method2!>()
+v2:<!method1!>()
+v2:method2()
]]
TEST [[