Skip to content

Commit 0a30d49

Browse files
authored
fix: express lane testReduce (#274)
1 parent 799837d commit 0a30d49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/foundry/ExpressLaneBalance.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ contract ExpressLaneBalanceTest is Test {
118118
if (initialRound <= reduceRound) {
119119
vm.expectRevert(abi.encodeWithSelector(InsufficientBalance.selector, reduceAmount, 0));
120120
b.reduce(reduceAmount, reduceRound);
121-
} else if (reduceAmount > initialBalance) {
121+
} else if (reduceAmount > initialBalance || initialBalance == 0) {
122122
vm.expectRevert(
123123
abi.encodeWithSelector(InsufficientBalance.selector, reduceAmount, initialBalance)
124124
);

0 commit comments

Comments
 (0)