mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-10-08 19:22:14 +00:00
test(minit): added support for passing tests to run to mini.test
This commit is contained in:
parent
a21b7bf2e7
commit
59334064f8
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ function M.minitest.setup(opts)
|
|||
opts = {
|
||||
collect = {
|
||||
find_files = function()
|
||||
return vim.fn.globpath("tests", "**/*_spec.lua", true, true)
|
||||
return #_G.arg > 0 and _G.arg or vim.fn.globpath("tests", "**/*_spec.lua", true, true)
|
||||
end,
|
||||
},
|
||||
-- script_path = "tests/minit.lua",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue