Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
MattFromRVA committed Aug 21, 2024
1 parent e7070a9 commit 875d29a
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +302,7 @@ private async Task VerifyProjectAsync(ProjectState newState, Project project, IV

try
{
if (expectedNumberOfIterations == 0 && numberOfIterations <= 0)
{
verifier.Equal(expectedNumberOfIterations, expectedNumberOfIterations - numberOfIterations, "No code fixes were expected, but a fix was offered that made no changes to the code.");
}
else if (expectedNumberOfIterations >= 0)
if (expectedNumberOfIterations >= 0)
{
verifier.Equal(expectedNumberOfIterations, expectedNumberOfIterations - numberOfIterations, $"Expected '{expectedNumberOfIterations}' iterations but found '{expectedNumberOfIterations - numberOfIterations}' iterations.");
}
Expand Down

0 comments on commit 875d29a

Please sign in to comment.