Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
kronosapiens committed May 26, 2022
1 parent 39c5bda commit a1354bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions test/contracts-network/colony-expenditure.js
Original file line number Diff line number Diff line change
Expand Up @@ -460,11 +460,11 @@ contract("Colony Expenditure", (accounts) => {
[token.address, otherToken.address],
[
[SLOT0, SLOT1],
[SLOT1, SLOT2]
[SLOT1, SLOT2],
],
[
[WAD.muln(10), WAD.muln(20)],
[WAD.muln(30), WAD.muln(40)]
[WAD.muln(30), WAD.muln(40)],
],
{ from: ADMIN }
);
Expand Down Expand Up @@ -559,10 +559,7 @@ contract("Colony Expenditure", (accounts) => {
it("should not allow the owner to set payouts", async () => {
const setExpenditurePayouts = colony.methods["setExpenditurePayouts(uint256,uint256[],address,uint256[])"];

await checkErrorRevert(
setExpenditurePayouts(expenditureId, [SLOT0], token.address, [WAD], { from: ADMIN }),
"colony-expenditure-not-draft"
);
await checkErrorRevert(setExpenditurePayouts(expenditureId, [SLOT0], token.address, [WAD], { from: ADMIN }), "colony-expenditure-not-draft");
});
});

Expand Down
2 changes: 1 addition & 1 deletion test/extensions/expenditure-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ contract("ExpenditureUtils", (accounts) => {

beforeEach(async () => {
await colony.makeExpenditure(1, UINT256_MAX, 1);
constexpenditureId = await colony.getExpenditureCount();
expenditureId = await colony.getExpenditureCount();

await colony.lockExpenditure(expenditureId);
});
Expand Down

0 comments on commit a1354bb

Please sign in to comment.