diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-07 03:34:53 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-07 03:34:53 +0800 |
commit | afaf9114d2ea37b1567b6e09ab018ae594f88e08 (patch) | |
tree | 5f8926da709b91a86f9d857e36641f72aaface20 /test | |
parent | d45984a61c94447c7c55ff5efffa9209c0b98d7c (diff) | |
download | lua-language-server-afaf9114d2ea37b1567b6e09ab018ae594f88e08.zip |
update
Diffstat (limited to 'test')
-rw-r--r-- | test/diagnostics/init.lua | 2 | ||||
-rw-r--r-- | test/highlight/init.lua | 1 | ||||
-rw-r--r-- | test/rename/init.lua | 1 |
3 files changed, 3 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('') diff --git a/test/highlight/init.lua b/test/highlight/init.lua index 8e07c5f0..0cca79f1 100644 --- a/test/highlight/init.lua +++ b/test/highlight/init.lua @@ -1,3 +1,4 @@ +---@diagnostic disable: await-in-sync local core = require 'core.highlight' local files = require 'files' local catch = require 'catch' diff --git a/test/rename/init.lua b/test/rename/init.lua index 3b386778..64e3916a 100644 --- a/test/rename/init.lua +++ b/test/rename/init.lua @@ -1,3 +1,4 @@ +---@diagnostic disable: await-in-sync local core = require 'core.rename' local files = require 'files' local catch = require 'catch' |