Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
re-fix lint
  • Loading branch information
Amxx committed Mar 5, 2024
commit 6942c467c0b8a891fa112cc257d3730dc0e3937d
14 changes: 0 additions & 14 deletions test/utils/Address.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,7 @@ describe('Address', function () {
it('reverts when the called function reverts with no reason', async function () {
const call = this.target.interface.encodeFunctionData('mockFunctionRevertsNoReason');

<<<<<<< HEAD
await expect(this.mock.$functionCall(this.target, call)).to.be.revertedWithCustomError(this.mock, 'FailedCall');
=======
await expect(this.mock.$functionCall(this.target, call)).to.be.revertedWithCustomError(
this.mock,
'FailedCall',
);
>>>>>>> e8eb6251e0707dc2fff4a7d6eaf9e53593d8c2e4
});

it('reverts when the called function reverts, bubbling up the revert reason', async function () {
Expand Down Expand Up @@ -136,14 +129,7 @@ describe('Address', function () {
const interface = new ethers.Interface(['function mockFunctionDoesNotExist()']);
const call = interface.encodeFunctionData('mockFunctionDoesNotExist');

<<<<<<< HEAD
await expect(this.mock.$functionCall(this.target, call)).to.be.revertedWithCustomError(this.mock, 'FailedCall');
=======
await expect(this.mock.$functionCall(this.target, call)).to.be.revertedWithCustomError(
this.mock,
'FailedCall',
);
>>>>>>> e8eb6251e0707dc2fff4a7d6eaf9e53593d8c2e4
});
});

Expand Down