Skip to content

Commit

Permalink
Merge pull request #99 from cllafleur/main
Browse files Browse the repository at this point in the history
fix: fix test matching for nunit tests.
  • Loading branch information
Issafalcon authored Jun 1, 2024
2 parents 2a5db50 + 223058a commit 747b689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/neotest-dotnet/nunit/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ M.generate_test_results = function(output_file_path, tree, context_id)

-- Use the full_name of the test, including namespace
local is_match = #result_test_name == #node_data.full_name
and string.find(result_test_name, node_data.full_name, 0, true)
or string.find(result_test_name, node_data.full_name, 0, true)

if is_match then
-- For non-inlined parameterized tests, check if we already have an entry for the test.
Expand Down

0 comments on commit 747b689

Please sign in to comment.