Skip to content

Commit 5a150a9

Browse files
feat: <- make tests more readable
1 parent 1391399 commit 5a150a9

4 files changed

+1
-5
lines changed

test/BAppManager.bapp.t.sol

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ pragma solidity 0.8.28;
44
import "./BAppManager.setup.t.sol";
55

66
contract BasedAppManagerBAppTest is BasedAppManagerSetupTest {
7-
87
function test_RegisterBApp() public {
98
vm.startPrank(USER1);
109
address[] memory tokensInput = new address[](1);

test/BAppManager.delegate.t.sol

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ pragma solidity 0.8.28;
44
import "./BAppManager.setup.t.sol";
55

66
contract BasedAppManagerDelegateTest is BasedAppManagerSetupTest {
7-
87
function test_DelegateMinimumBalance() public {
98
vm.startPrank(USER1);
109
proxiedManager.delegateBalance(RECEIVER, 1);

test/BAppManager.ownership.t.sol

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ pragma solidity 0.8.28;
44
import "./BAppManager.setup.t.sol";
55

66
contract BasedAppManagerOwnershipTest is BasedAppManagerSetupTest {
7-
87
function test_OwnerOfBasedAppManager() public view {
98
assertEq(proxiedManager.owner(), OWNER, "Owner should be the deployer");
109
}

test/BAppManager.strategy.t.sol

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import "./BAppManager.setup.t.sol";
55
import "./BAppManager.bapp.t.sol";
66

77
contract BasedAppManagerStrategyTest is BasedAppManagerSetupTest, BasedAppManagerBAppTest {
8-
98
function test_CreateStrategies() public {
109
vm.startPrank(USER1);
1110
erc20mock.approve(address(proxiedManager), INITIAL_USER1_BALANCE_ERC20);
@@ -1081,7 +1080,7 @@ contract BasedAppManagerStrategyTest is BasedAppManagerSetupTest, BasedAppManage
10811080
vm.stopPrank();
10821081
}
10831082

1084-
function test_CreateObligationETH(
1083+
function test_CreateObligationETH(
10851084
uint32 percentage
10861085
) public {
10871086
vm.assume(percentage > 0 && percentage <= proxiedManager.MAX_PERCENTAGE());

0 commit comments

Comments
 (0)