Skip to content

Commit

Permalink
Use legacy parser where the new parser can't help
Browse files Browse the repository at this point in the history
  • Loading branch information
Siphonophora committed Mar 27, 2022
1 parent 73f68da commit 2af9af6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ public void MethodFormat_Class_ShouldIncludeClass()

foreach (var testcase in testcases)
{
var parsedName = new TestCaseNameParser().Parse(testcase.Attribute("name").Value);
// Note the new parser can't handle the names with just class.method
var parsedName = new LegacyTestCaseNameParser().Parse(testcase.Attribute("name").Value);

// If the name is parsable into two pieces, then we have a two piece name and
// consider that to be a passing result.
Expand Down

0 comments on commit 2af9af6

Please sign in to comment.