Skip to content

Commit

Permalink
chore: various improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisGD committed Feb 6, 2024
1 parent 0cb5741 commit e382c16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
5 changes: 0 additions & 5 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,10 @@ fail_on_revert = true
[profile.default.fmt]
wrap_comments = true


[profile.build]
test = "/dev/null"
script = "/dev/null"


[profile.test]
via_ir = false

[profile.test.fuzz]
runs = 16384

Expand Down
8 changes: 2 additions & 6 deletions test/forge/FixedRateIrmTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ contract FixedRateIrmTest is Test {
assertEq(fixedRateIrm.borrowRate(marketParams, market), newBorrowRate);
}

function testBorrowRateRateZero(MarketParams memory marketParams, Market memory market, uint256 newBorrowRate)
external
{
function testBorrowRateRateZero(MarketParams memory marketParams, Market memory market) external {
vm.expectRevert("rate not set");
fixedRateIrm.borrowRate(marketParams, market);
}
Expand All @@ -65,9 +63,7 @@ contract FixedRateIrmTest is Test {
assertEq(fixedRateIrm.borrowRateView(marketParams, market), newBorrowRate);
}

function testBorrowRateViewRateZero(MarketParams memory marketParams, Market memory market, uint256 newBorrowRate)
external
{
function testBorrowRateViewRateZero(MarketParams memory marketParams, Market memory market) external {
vm.expectRevert("rate not set");
fixedRateIrm.borrowRateView(marketParams, market);
}
Expand Down

0 comments on commit e382c16

Please sign in to comment.