Skip to content

Commit

Permalink
chore(internal): update type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Dec 24, 2023
1 parent 7a6028a commit dab6b5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions lua/neotest-haskell/internal_types.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---@alias test_run_type "dir"|"file"|"namespace"|"test"

---@class RunContext
---@field file string
---@field pos_id string
---@field type test_run_type
---@field type neotest.PositionType
---@field handler TestFrameworkHandler

---@class TestFrameworkHandler
Expand Down
2 changes: 1 addition & 1 deletion lua/neotest-haskell/results.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function results.mk_result_parser(parse_errors, get_failed_name, get_succeeded_n

---Set the status of the test and maybe its parents.
---@param test_name string The name of the test.
---@param status string The neotest status.
---@param status neotest.ResultStatus The neotest status.
---@param errors neotest.Error[]? The errors in case of failure.
local function set_test_status(test_name, status, errors)
test_name = '"' .. test_name .. '"'
Expand Down

0 comments on commit dab6b5f

Please sign in to comment.