test: annotations for tests

This commit is contained in:
Folke Lemaitre 2022-12-29 23:27:02 +01:00
parent 5d9c528771
commit 1682edc505
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,8 @@ describe("task", function()
local plugin = { name = "test", _ = {} }
local done = false
local error = nil
---@type string?
local error
local opts = {
on_done = function(task)