diff options
Diffstat (limited to 'server-beta/test/diagnostics/init.lua')
-rw-r--r-- | server-beta/test/diagnostics/init.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/server-beta/test/diagnostics/init.lua b/server-beta/test/diagnostics/init.lua index d8724375..430ead8d 100644 --- a/server-beta/test/diagnostics/init.lua +++ b/server-beta/test/diagnostics/init.lua @@ -262,6 +262,13 @@ return [[ ]] ]=] +TEST [[ +local t = {} +<!function t:x() +end!> +return t +]] + config.config.diagnostics.disable['unused-function'] = true TEST [[ local mt, x |