Skip to content

Commit

Permalink
[stylebot] Fixes for code style
Browse files Browse the repository at this point in the history
  • Loading branch information
robotoer committed Aug 22, 2024
1 parent c4f9da8 commit fafa3ee
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions test/waffle-compat.test.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import { expect } from "chai";
import { deployMockContract } from "../src/compat/waffle";
import {
BaseContract,
InterfaceAbi,
ZeroAddress,
} from "ethers";
import { BaseContract, InterfaceAbi, ZeroAddress } from "ethers";
import hre from "hardhat";

const erc20ABI = [
Expand Down Expand Up @@ -68,7 +64,9 @@ describe("waffle", function () {
const [signer] = await hre.ethers.getSigners();
const mock = await deployMockContract<Erc20Contract>(signer, erc20ABI);

await mock.mock.balanceOf.withArgs(ZeroAddress).revertsWithReason("Custom reason");
await mock.mock.balanceOf
.withArgs(ZeroAddress)
.revertsWithReason("Custom reason");

try {
await mock.balanceOf(ZeroAddress);
Expand Down

0 comments on commit fafa3ee

Please sign in to comment.