diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/diagnostics/common.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua index 27e92676..59a56981 100644 --- a/test/diagnostics/common.lua +++ b/test/diagnostics/common.lua @@ -1907,3 +1907,14 @@ TEST [[ ---@class A ---@operator <!xxx!>: A ]] + +config.add(nil, 'Lua.diagnostics.unusedLocalIgnore', 'll_*') + +TEST [[ +local <!xx!> +local ll_1 +local ll_2 +local <!ll!> +]] + +config.remove(nil, 'Lua.diagnostics.unusedLocalIgnore', 'll_*') |