Skip to content

Commit

Permalink
Fix test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
vicancy committed Dec 9, 2024
1 parent 8383636 commit 57d303a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class VerifiableLoggedTest(ITestOutputHelper output) : LoggedTest(output)
{
public static async Task RetryWhenExceptionThrows(Func<Task> asyncFunc, int maxCount = 3)
{
AssertActualExpectedException last = null;
NotEqualException last = null;
int i;
for (i = 0; i < maxCount; i++)
{
Expand All @@ -22,7 +22,7 @@ public static async Task RetryWhenExceptionThrows(Func<Task> asyncFunc, int maxC
await asyncFunc();
break;
}
catch (AssertActualExpectedException e)
catch (NotEqualException e)
{
last = e;
continue;
Expand Down

0 comments on commit 57d303a

Please sign in to comment.