Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dd0sxx committed Nov 29, 2023
1 parent 78601bc commit 7e67978
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 25 deletions.
6 changes: 1 addition & 5 deletions script/DeployLlamaFactory.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
6 changes: 1 addition & 5 deletions test/LlamaFactory.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
3 changes: 1 addition & 2 deletions test/strategies/absolute/LlamaAbsoluteStrategyBase.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1001,8 +1001,7 @@ contract GetDisapprovalQuantityAt is LlamaAbsoluteStrategyBaseTest {
DEFAULT_APPROVALS,
DEFAULT_DISAPPROVALS,
new uint8[](0),
new
uint8[](0)
new uint8[](0)
);

vm.warp(_timestamp);
Expand Down
6 changes: 2 additions & 4 deletions test/strategies/relative/LlamaRelativeHolderQuorum.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,7 @@ contract GetApprovalQuantityAt is LlamaRelativeHolderQuorumTest {
4000,
2000,
new uint8[](0),
new
uint8[](0)
new uint8[](0)
);

vm.warp(_timestamp);
Expand Down Expand Up @@ -418,8 +417,7 @@ contract GetDisapprovalQuantityAt is LlamaRelativeHolderQuorumTest {
4000,
2000,
new uint8[](0),
new
uint8[](0)
new uint8[](0)
);

vm.warp(_timestamp);
Expand Down
6 changes: 2 additions & 4 deletions test/strategies/relative/LlamaRelativeQuantityQuorum.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,7 @@ contract GetApprovalQuantityAt is LlamaRelativeQuantityQuorumTest {
4000,
2000,
new uint8[](0),
new
uint8[](0)
new uint8[](0)
);

vm.warp(_timestamp);
Expand Down Expand Up @@ -424,8 +423,7 @@ contract GetDisapprovalQuantityAt is LlamaRelativeQuantityQuorumTest {
4000,
2000,
new uint8[](0),
new
uint8[](0)
new uint8[](0)
);

vm.warp(_timestamp);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,7 @@ contract GetApprovalQuantityAt is LlamaRelativeHolderQuorumTest {
4000,
2000,
new uint8[](0),
new
uint8[](0)
new uint8[](0)
);

vm.warp(_timestamp);
Expand Down Expand Up @@ -473,8 +472,7 @@ contract GetDisapprovalQuantityAt is LlamaRelativeHolderQuorumTest {
4000,
2000,
new uint8[](0),
new
uint8[](0)
new uint8[](0)
);

vm.warp(_timestamp);
Expand Down
2 changes: 1 addition & 1 deletion test/utils/SolarrayLlama.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7e67978

Please sign in to comment.