aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers/lua/luassertx.lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2022-07-14 17:27:12 +0200
committerGitHub <noreply@github.com>2022-07-14 17:27:12 +0200
commit63de62cd0b0b53c5946d67ee2a3c2dac16379707 (patch)
tree54d69e3bc51370787dfef71856747727ed5a84d5 /tests/helpers/lua/luassertx.lua
parentfix(arduino_language_server): fix Windows asset files (#72) (diff)
downloadmason-63de62cd0b0b53c5946d67ee2a3c2dac16379707.tar
mason-63de62cd0b0b53c5946d67ee2a3c2dac16379707.tar.gz
mason-63de62cd0b0b53c5946d67ee2a3c2dac16379707.tar.bz2
mason-63de62cd0b0b53c5946d67ee2a3c2dac16379707.tar.lz
mason-63de62cd0b0b53c5946d67ee2a3c2dac16379707.tar.xz
mason-63de62cd0b0b53c5946d67ee2a3c2dac16379707.tar.zst
mason-63de62cd0b0b53c5946d67ee2a3c2dac16379707.zip
chore: change emmylua annotation syntax from @ to : for comments (#73)
Diffstat (limited to 'tests/helpers/lua/luassertx.lua')
-rw-r--r--tests/helpers/lua/luassertx.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/helpers/lua/luassertx.lua b/tests/helpers/lua/luassertx.lua
index 35f7353f..55ea0d72 100644
--- a/tests/helpers/lua/luassertx.lua
+++ b/tests/helpers/lua/luassertx.lua
@@ -3,9 +3,9 @@ local match = require "luassert.match"
local a = require "mason-core.async"
local function wait_for(_, arguments)
- ---@type fun() @Function to execute until it does not error.
+ ---@type (fun()): Function to execute until it does not error.
local assertions_fn = arguments[1]
- ---@type number @Timeout in milliseconds. Defaults to 5000.
+ ---@type number: Timeout in milliseconds. Defaults to 5000.
local timeout = arguments[2]
timeout = timeout or 15000