From e44a4f7dd59d7474ea1326fa6554a43be554903d Mon Sep 17 00:00:00 2001 From: Austin Green Date: Fri, 24 Nov 2023 10:31:57 -0500 Subject: [PATCH] update forge fmt --- script/DeployLlamaFactory.s.sol | 6 +----- test/LlamaFactory.t.sol | 6 +----- test/strategies/absolute/LlamaAbsoluteStrategyBase.t.sol | 3 +-- test/strategies/relative/LlamaRelativeHolderQuorum.t.sol | 6 ++---- test/strategies/relative/LlamaRelativeQuantityQuorum.t.sol | 6 ++---- .../relative/LlamaRelativeUniqueHolderQuorum.t.sol | 6 ++---- test/utils/SolarrayLlama.sol | 2 +- 7 files changed, 10 insertions(+), 25 deletions(-) diff --git a/script/DeployLlamaFactory.s.sol b/script/DeployLlamaFactory.s.sol index 69208982a..9e1362851 100644 --- a/script/DeployLlamaFactory.s.sol +++ b/script/DeployLlamaFactory.s.sol @@ -66,11 +66,7 @@ contract DeployLlamaFactory is Script { DeployUtils.print(string.concat(" LlamaPolicyMetadataLogic:", vm.toString(address(policyMetadataLogic)))); vm.broadcast(); - factory = new LlamaFactory( - coreLogic, - policyLogic, - policyMetadataLogic - ); + factory = new LlamaFactory(coreLogic, policyLogic, policyMetadataLogic); DeployUtils.print(string.concat(" LlamaFactory:", vm.toString(address(factory)))); vm.broadcast(); diff --git a/test/LlamaFactory.t.sol b/test/LlamaFactory.t.sol index 94b02447e..f7fb1f766 100644 --- a/test/LlamaFactory.t.sol +++ b/test/LlamaFactory.t.sol @@ -52,11 +52,7 @@ contract LlamaFactoryTest is LlamaTestSetup { contract Constructor is LlamaFactoryTest { function deployLlamaFactory() internal returns (LlamaFactory) { - return new LlamaFactory( - coreLogic, - policyLogic, - policyMetadataLogic - ); + return new LlamaFactory(coreLogic, policyLogic, policyMetadataLogic); } function test_SetsLlamaCoreLogicAddress() public { diff --git a/test/strategies/absolute/LlamaAbsoluteStrategyBase.t.sol b/test/strategies/absolute/LlamaAbsoluteStrategyBase.t.sol index 1c3ee1ebf..37df0c3bf 100644 --- a/test/strategies/absolute/LlamaAbsoluteStrategyBase.t.sol +++ b/test/strategies/absolute/LlamaAbsoluteStrategyBase.t.sol @@ -1001,8 +1001,7 @@ contract GetDisapprovalQuantityAt is LlamaAbsoluteStrategyBaseTest { DEFAULT_APPROVALS, DEFAULT_DISAPPROVALS, new uint8[](0), - new - uint8[](0) + new uint8[](0) ); vm.warp(_timestamp); diff --git a/test/strategies/relative/LlamaRelativeHolderQuorum.t.sol b/test/strategies/relative/LlamaRelativeHolderQuorum.t.sol index 3f3da6ed4..2644484e2 100644 --- a/test/strategies/relative/LlamaRelativeHolderQuorum.t.sol +++ b/test/strategies/relative/LlamaRelativeHolderQuorum.t.sol @@ -243,8 +243,7 @@ contract GetApprovalQuantityAt is LlamaRelativeHolderQuorumTest { 4000, 2000, new uint8[](0), - new - uint8[](0) + new uint8[](0) ); vm.warp(_timestamp); @@ -418,8 +417,7 @@ contract GetDisapprovalQuantityAt is LlamaRelativeHolderQuorumTest { 4000, 2000, new uint8[](0), - new - uint8[](0) + new uint8[](0) ); vm.warp(_timestamp); diff --git a/test/strategies/relative/LlamaRelativeQuantityQuorum.t.sol b/test/strategies/relative/LlamaRelativeQuantityQuorum.t.sol index 098de9e92..f2e9b8567 100644 --- a/test/strategies/relative/LlamaRelativeQuantityQuorum.t.sol +++ b/test/strategies/relative/LlamaRelativeQuantityQuorum.t.sol @@ -245,8 +245,7 @@ contract GetApprovalQuantityAt is LlamaRelativeQuantityQuorumTest { 4000, 2000, new uint8[](0), - new - uint8[](0) + new uint8[](0) ); vm.warp(_timestamp); @@ -424,8 +423,7 @@ contract GetDisapprovalQuantityAt is LlamaRelativeQuantityQuorumTest { 4000, 2000, new uint8[](0), - new - uint8[](0) + new uint8[](0) ); vm.warp(_timestamp); diff --git a/test/strategies/relative/LlamaRelativeUniqueHolderQuorum.t.sol b/test/strategies/relative/LlamaRelativeUniqueHolderQuorum.t.sol index 787d6269a..8a7f4ca0a 100644 --- a/test/strategies/relative/LlamaRelativeUniqueHolderQuorum.t.sol +++ b/test/strategies/relative/LlamaRelativeUniqueHolderQuorum.t.sol @@ -243,8 +243,7 @@ contract GetApprovalQuantityAt is LlamaRelativeHolderQuorumTest { 4000, 2000, new uint8[](0), - new - uint8[](0) + new uint8[](0) ); vm.warp(_timestamp); @@ -473,8 +472,7 @@ contract GetDisapprovalQuantityAt is LlamaRelativeHolderQuorumTest { 4000, 2000, new uint8[](0), - new - uint8[](0) + new uint8[](0) ); vm.warp(_timestamp); diff --git a/test/utils/SolarrayLlama.sol b/test/utils/SolarrayLlama.sol index 843841bcf..39fd1a5ca 100644 --- a/test/utils/SolarrayLlama.sol +++ b/test/utils/SolarrayLlama.sol @@ -212,7 +212,7 @@ library SolarrayLlama { { uint256 length1 = arr1.length; uint256 length2 = arr2.length; - newArr = new RoleDescription[](length1+ length2); + newArr = new RoleDescription[](length1 + length2); for (uint256 i = 0; i < length1;) { newArr[i] = arr1[i]; unchecked {