Skip to content

Commit

Permalink
fix: add expectRevert in testReallocateToNotSorted
Browse files Browse the repository at this point in the history
  • Loading branch information
adhusson committed Feb 16, 2024
1 parent 969db2e commit 30ee257
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/PublicAllocatorTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@ contract PublicAllocatorTest is IntegrationTest {
withdrawals[0] = sortedWithdrawals[1];
withdrawals[1] = sortedWithdrawals[0];

vm.expectRevert(ErrorsLib.InconsistentWithdrawals.selector);
publicAllocator.reallocateTo(withdrawals, idleParams);

}
Expand Down

0 comments on commit 30ee257

Please sign in to comment.