summaryrefslogtreecommitdiff
path: root/test/signature/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/signature/init.lua')
-rw-r--r--test/signature/init.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/signature/init.lua b/test/signature/init.lua
index 1dbe61e8..aa9d9094 100644
--- a/test/signature/init.lua
+++ b/test/signature/init.lua
@@ -4,6 +4,7 @@ local catch = require 'catch'
rawset(_G, 'TEST', true)
+---@diagnostic disable: await-in-sync
function TEST(script)
return function (expect)
local newScript, catched1 = catch(script, '?')
@@ -82,7 +83,7 @@ end
x(1, 2, 3, <??>
]]
-'function x(a: any, <!...!>)'
+'function x(a: any, <!...: any!>)'
TEST [[
(''):sub(<??>