summaryrefslogtreecommitdiff
path: root/test/diagnostics
diff options
context:
space:
mode:
Diffstat (limited to 'test/diagnostics')
-rw-r--r--test/diagnostics/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua
index 8c8dbcf6..2821dc1b 100644
--- a/test/diagnostics/init.lua
+++ b/test/diagnostics/init.lua
@@ -1163,7 +1163,7 @@ TEST [[
local emit = {}
]]
-config.get 'Lua.diagnostics.neededFileStatus' ['unused-local'] = 'None'
+config.get(nil, 'Lua.diagnostics.neededFileStatus')['unused-local'] = 'None'
TEST [[
---@param table table
---@param metatable table
@@ -1302,7 +1302,7 @@ trim('str', 'left')
trim('str', nil)
]]
-config.get 'Lua.diagnostics.neededFileStatus' ['unused-local'] = 'Any'
+config.get(nil, 'Lua.diagnostics.neededFileStatus')['unused-local'] = 'Any'
---不完整的函数参数定义,会跳过检查
TEST [[