From 6632a278360065a24081a85df23498b9b7bc838b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 26 Apr 2022 12:54:27 +0800 Subject: fix #1093 --- test/diagnostics/common.lua | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test/diagnostics') diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua index 66f85c05..06e95f39 100644 --- a/test/diagnostics/common.lua +++ b/test/diagnostics/common.lua @@ -352,6 +352,15 @@ local ]] + +TEST [[ +local + +local +]] + config.get(nil, 'Lua.diagnostics.disable')['unused-local'] = nil TEST [[ local mt, x -- cgit v1.2.3