Skip to content

Commit

Permalink
Ignore checking for namespace scope
Browse files Browse the repository at this point in the history
- Issafalcon#114
- I don't really know the implications of this because I am doing simple
  dotnet projects. So this fix works good enough for me, but probably
  not for the full plugin.
  • Loading branch information
DarkKronicle committed Aug 26, 2024
1 parent 0350979 commit 28adee9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lua/neotest-dotnet/mstest/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,7 @@ M.generate_test_results = function(output_file_path, tree, context_id)
end

-- 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)
local is_match = string.find(result_test_name, node_data.full_name, 0, true) ~= nil

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 28adee9

Please sign in to comment.