Skip to content

Commit

Permalink
fix: express lane testReduce (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
gzeoneth authored Dec 10, 2024
1 parent 799837d commit 0a30d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/foundry/ExpressLaneBalance.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ contract ExpressLaneBalanceTest is Test {
if (initialRound <= reduceRound) {
vm.expectRevert(abi.encodeWithSelector(InsufficientBalance.selector, reduceAmount, 0));
b.reduce(reduceAmount, reduceRound);
} else if (reduceAmount > initialBalance) {
} else if (reduceAmount > initialBalance || initialBalance == 0) {
vm.expectRevert(
abi.encodeWithSelector(InsufficientBalance.selector, reduceAmount, initialBalance)
);
Expand Down

0 comments on commit 0a30d49

Please sign in to comment.