Skip to content

Commit

Permalink
style: forge fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
alanhwu committed Oct 3, 2024
1 parent 91fcc2d commit 7525238
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/lib/NonLinearDutchDecayLib.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,10 @@ contract NonlinearDutchDecayLibTest is Test, GasSnapshot {

vm.roll(currentBlock);
uint256 decayed = NonlinearDutchDecayLib.decay(curve, startAmount, decayStartBlock, minAmount, maxAmount);
assertEq(decayed, Math.max(startAmount - decayAmountFuzz, minAmount), "Should be fully decayed for block delta beyond uint16.max");
assertEq(
decayed,
Math.max(startAmount - decayAmountFuzz, minAmount),
"Should be fully decayed for block delta beyond uint16.max"
);
}
}

0 comments on commit 7525238

Please sign in to comment.