diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-12-24 17:20:27 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-12-24 17:20:27 +0800 |
commit | 38a2f5ae4e7e5a5ba48289db6a2972e15d3d53cf (patch) | |
tree | 281d4acb7ab88d2751b71f8286d4a0b0c9f8bbf1 /test/diagnostics | |
parent | ef6c3fe05addbd299e4fc6e45cec94a83886c18f (diff) | |
download | lua-language-server-38a2f5ae4e7e5a5ba48289db6a2972e15d3d53cf.zip |
update
Diffstat (limited to 'test/diagnostics')
-rw-r--r-- | test/diagnostics/init.lua | 4 |
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 [[ |