diff options
Diffstat (limited to 'test/diagnostics/init.lua')
-rw-r--r-- | test/diagnostics/init.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua index 00a2cda8..d4bffdb5 100644 --- a/test/diagnostics/init.lua +++ b/test/diagnostics/init.lua @@ -100,7 +100,7 @@ local <!t!> = {} ]] TEST([[ -<!local function x() +local <!function x() end!> ]], [[ @@ -119,9 +119,9 @@ local <!x!> ]] TEST([[ -<!local function x() +local <!function x() end!> -<!local function y() +local <!function y() x() end!> ]], @@ -363,7 +363,7 @@ local f;f = <!function () end!> ]] TEST [[ -<!local function f() end!> +local <!function f() end!> ]] config.config.diagnostics.disable['unused-local'] = nil |