summaryrefslogtreecommitdiff
path: root/test/diagnostics/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-07 03:34:53 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-07 03:34:53 +0800
commitafaf9114d2ea37b1567b6e09ab018ae594f88e08 (patch)
tree5f8926da709b91a86f9d857e36641f72aaface20 /test/diagnostics/init.lua
parentd45984a61c94447c7c55ff5efffa9209c0b98d7c (diff)
downloadlua-language-server-afaf9114d2ea37b1567b6e09ab018ae594f88e08.zip
update
Diffstat (limited to 'test/diagnostics/init.lua')
-rw-r--r--test/diagnostics/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua
index 58414b60..91dfb62f 100644
--- a/test/diagnostics/init.lua
+++ b/test/diagnostics/init.lua
@@ -43,7 +43,7 @@ function TEST(script, ...)
error(('%s\n%s'):format(util.dump(catched['!']), util.dump(results)))
end
else
- assert(catched['!'] == nil)
+ assert(#catched['!'] == 0)
end
files.remove('')