From e382c16924f483ce51354b048cea17db0feb8379 Mon Sep 17 00:00:00 2001 From: MathisGD Date: Tue, 6 Feb 2024 10:10:13 +0100 Subject: [PATCH] chore: various improvements --- foundry.toml | 5 ----- test/forge/FixedRateIrmTest.sol | 8 ++------ 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/foundry.toml b/foundry.toml index f09ac50..0476609 100644 --- a/foundry.toml +++ b/foundry.toml @@ -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 diff --git a/test/forge/FixedRateIrmTest.sol b/test/forge/FixedRateIrmTest.sol index 81e40d4..08ef636 100644 --- a/test/forge/FixedRateIrmTest.sol +++ b/test/forge/FixedRateIrmTest.sol @@ -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); } @@ -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); }