diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-26 16:17:34 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-26 16:17:34 +0800 |
commit | 08135e067336d2767029c4a7b907e5df0a0d942b (patch) | |
tree | 1a29da5ccaad9e8715e65a6173a48fe25d22982a /test/diagnostics | |
parent | 6632a278360065a24081a85df23498b9b7bc838b (diff) | |
download | lua-language-server-08135e067336d2767029c4a7b907e5df0a0d942b.zip |
cleanup
Diffstat (limited to 'test/diagnostics')
-rw-r--r-- | test/diagnostics/common.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua index 06e95f39..9d2deedd 100644 --- a/test/diagnostics/common.lua +++ b/test/diagnostics/common.lua @@ -333,6 +333,14 @@ TEST [[ local _ <close> = <!1!> ]] +--TEST [[ +--local _ <close> = <!''!> +--]] +-- +--TEST [[ +--local c <close> = <!(function () return 1 end)()!> +--]] + config.get(nil, 'Lua.diagnostics.disable')['unused-local'] = true TEST [[ local f = <!function () end!> |