Skip to content

Commit

Permalink
Fix infinite iteration in Matches method (#792)
Browse files Browse the repository at this point in the history
  • Loading branch information
jianwu21 committed Mar 5, 2021
1 parent 32f53ae commit 5dafe82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TestFramework/MSTest.Core/Assertions/StringAssert.cs
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ public static void Matches(string value, Regex pattern)
/// </exception>
public static void Matches(string value, Regex pattern, string message)
{
Matches(value, pattern, message);
Matches(value, pattern, message, null);
}

/// <summary>
Expand Down

0 comments on commit 5dafe82

Please sign in to comment.