From 1682edc505533245b922a9d2b4fc5f7434c5989f Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Thu, 29 Dec 2022 23:27:02 +0100 Subject: [PATCH] test: annotations for tests --- tests/manage/task_spec.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/manage/task_spec.lua b/tests/manage/task_spec.lua index 76c91e5..e172100 100644 --- a/tests/manage/task_spec.lua +++ b/tests/manage/task_spec.lua @@ -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)