test(minit): added support for passing tests to run to mini.test
This commit is contained in:
parent
a21b7bf2e7
commit
59334064f8
|
|
@ -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…
Reference in New Issue