Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lua/neotest-haskell/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ local lib = require('neotest.lib')

local ok, nio = pcall(require, 'nio')
if not ok then
---@diagnostic disable-next-line: undefined-field
nio = require('neotest.async').util
end

Expand Down
2 changes: 1 addition & 1 deletion tests/hspec_spec.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local Path = require('plenary.path')

local hspec = require('neotest-haskell.hspec')
local async = require('plenary.async.tests')
local async = require('nio').tests

local test_cwd = os.getenv('TEST_CWD')

Expand Down
2 changes: 1 addition & 1 deletion tests/runner_spec.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local runner = require('neotest-haskell.runner')
local Path = require('plenary.path')
local async = require('plenary.async.tests')
local async = require('nio').tests

local simple_cabal_hspec_test_file = Path:new('tests/fixtures/hspec/cabal/simple/test/FirstSpec.hs')
local multi_package_cabal_hspec_test_file =
Expand Down
2 changes: 1 addition & 1 deletion tests/sydtest_spec.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local Path = require('plenary.path')

local sydtest = require('neotest-haskell.sydtest')
local async = require('plenary.async.tests')
local async = require('nio').tests

local test_cwd = os.getenv('TEST_CWD')

Expand Down
2 changes: 1 addition & 1 deletion tests/tasty_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ local Path = require('plenary.path')

local tasty = require('neotest-haskell.tasty')
local has_position = require('neotest-haskell.position').has_position
local async = require('plenary.async.tests')
local async = require('nio').tests

local test_cwd = os.getenv('TEST_CWD')

Expand Down