Skip to content

Commit

Permalink
revert assertion in test
Browse files Browse the repository at this point in the history
  • Loading branch information
mary-georgiou-sonarsource committed Jun 13, 2024
1 parent c890674 commit 5dbdfb7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@ public void ValidateEntry(params Expected[] expected) =>

public void ValidateExit(params Expected[] expected)
{
expected.Should().AllSatisfy(x => x.Kind.Should().Be(ExpectedKind.Captured), "Exit block should expect only Captured variables.");
Array.TrueForAll(expected, x => x.Kind == ExpectedKind.Captured).Should().BeTrue("Exit block should expect only Captured variables.");
Validate(Cfg.ExitBlock, null, expected);
}

Expand Down

0 comments on commit 5dbdfb7

Please sign in to comment.