Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 19, 2023
1 parent 4603517 commit d4d67d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/neotest-rust/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ function adapter.build_spec(args)
if position.type == "test" then
position_id = position.id
-- TODO: Support rstest parametrized tests
test_filter = '-E "' .. package_filter .. "test(/^" .. position_id .. '\$/)"'
test_filter = '-E "' .. package_filter .. "test(/^" .. position_id .. '$/)"'
elseif position.type == "file" then
if package_name then
-- A basic filter to run tests within the package that will be
Expand Down

0 comments on commit d4d67d8

Please sign in to comment.