From 35289856cc810fb07f8258a922df774d2ff6c138 Mon Sep 17 00:00:00 2001 From: Spablob Date: Thu, 11 Apr 2024 14:58:14 +0300 Subject: [PATCH] format fix --- .../modules/royalty/RoyaltyModule.t.sol | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/test/foundry/modules/royalty/RoyaltyModule.t.sol b/test/foundry/modules/royalty/RoyaltyModule.t.sol index 5bea403ae..bfa4f8ae6 100644 --- a/test/foundry/modules/royalty/RoyaltyModule.t.sol +++ b/test/foundry/modules/royalty/RoyaltyModule.t.sol @@ -33,7 +33,10 @@ contract TestRoyaltyModule is BaseTest { address impl = address(new RoyaltyPolicyLAP(address(royaltyModule), address(licensingModule))); royaltyPolicyLAP2 = RoyaltyPolicyLAP( - TestProxyHelper.deployUUPSProxy(impl, abi.encodeCall(RoyaltyPolicyLAP.initialize, address(protocolAccessManager))) + TestProxyHelper.deployUUPSProxy( + impl, + abi.encodeCall(RoyaltyPolicyLAP.initialize, address(protocolAccessManager)) + ) ); arbitrationRelayer = u.relayer; @@ -109,7 +112,10 @@ contract TestRoyaltyModule is BaseTest { function test_RoyaltyModule_setDisputeModule_revert_ZeroDisputeModule() public { address impl = address(new RoyaltyModule()); RoyaltyModule testRoyaltyModule = RoyaltyModule( - TestProxyHelper.deployUUPSProxy(impl, abi.encodeCall(RoyaltyModule.initialize, address(protocolAccessManager))) + TestProxyHelper.deployUUPSProxy( + impl, + abi.encodeCall(RoyaltyModule.initialize, address(protocolAccessManager)) + ) ); vm.expectRevert(Errors.RoyaltyModule__ZeroDisputeModule.selector); vm.prank(u.admin); @@ -120,7 +126,10 @@ contract TestRoyaltyModule is BaseTest { vm.startPrank(u.admin); address impl = address(new RoyaltyModule()); RoyaltyModule testRoyaltyModule = RoyaltyModule( - TestProxyHelper.deployUUPSProxy(impl, abi.encodeCall(RoyaltyModule.initialize, address(protocolAccessManager))) + TestProxyHelper.deployUUPSProxy( + impl, + abi.encodeCall(RoyaltyModule.initialize, address(protocolAccessManager)) + ) ); testRoyaltyModule.setDisputeModule(address(disputeModule)); assertEq(testRoyaltyModule.disputeModule(), address(disputeModule)); @@ -136,7 +145,10 @@ contract TestRoyaltyModule is BaseTest { vm.startPrank(u.admin); address impl = address(new RoyaltyModule()); RoyaltyModule testRoyaltyModule = RoyaltyModule( - TestProxyHelper.deployUUPSProxy(impl, abi.encodeCall(RoyaltyModule.initialize, address(protocolAccessManager))) + TestProxyHelper.deployUUPSProxy( + impl, + abi.encodeCall(RoyaltyModule.initialize, address(protocolAccessManager)) + ) ); testRoyaltyModule.setLicensingModule(address(licensingModule)); assertEq(testRoyaltyModule.licensingModule(), address(licensingModule)); @@ -427,4 +439,4 @@ contract TestRoyaltyModule is BaseTest { assertEq(payerAddressUSDCBalBefore - payerAddressUSDCBalAfter, royaltyAmount); assertEq(ipRoyaltyVaultUSDCBalAfter - ipRoyaltyVaultUSDCBalBefore, royaltyAmount); } -} \ No newline at end of file +}