Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobbotsch authored and github-actions committed Dec 10, 2024
1 parent c7a6eb5 commit 269d3ea
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public static int Foo(int x)
if (x == 123)
return 0;

int sum = 0;
int sum = 9;
for (int i = 0; i < x; i++)
{
sum += i;
Expand All @@ -34,17 +34,17 @@ public static int Foo(int x)
}
finally
{
sum += 9;
sum += 1000;
}
}
catch (ArgumentException)
{
sum += 1000;
sum += 10000;
}
}
catch when (Filter())
{
sum += 10000;
sum += 100000;
}

return sum;
Expand Down

0 comments on commit 269d3ea

Please sign in to comment.