diff --git a/lua/neotest-dotnet/mstest/init.lua b/lua/neotest-dotnet/mstest/init.lua index 4915092..c488084 100644 --- a/lua/neotest-dotnet/mstest/init.lua +++ b/lua/neotest-dotnet/mstest/init.lua @@ -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.