Skip to content

Commit

Permalink
Match on exact test name (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhawthorn authored Sep 19, 2024
1 parent bec6bb2 commit c852a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/neotest-minitest/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function NeotestAdapter.build_spec(args)
table.insert(script_args, position.path)
table.insert(script_args, "--name")
-- https://chriskottom.com/articles/command-line-flags-for-minitest-in-the-raw/
table.insert(script_args, "/" .. full_name .. "/")
table.insert(script_args, "/^" .. full_name .. "$/")
end

local function run_dir()
Expand Down

0 comments on commit c852a81

Please sign in to comment.