Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion docs/source/mock-contract.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Mock contract will be used to mock exactly this call with values that are releva
return {sender, receiver, contract, mockERC20};
}

it('returns false if the wallet has less then 1000000 coins', async () => {
it('returns false if the wallet has less than 1000000 coins', async () => {
const {contract, mockERC20} = await setup();
await mockERC20.mock.balanceOf.returns(utils.parseEther('999999'));
expect(await contract.check()).to.be.equal(false);
Expand Down
2 changes: 1 addition & 1 deletion examples/called-on-contract/test/AmIRichAlready.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('Am I Rich Already', () => {
let contract: Contract;
const [wallet] = new MockProvider().getWallets();

it('returns false if the wallet has less then 1000000 coins', async () => {
it('returns false if the wallet has less than 1000000 coins', async () => {
ERC20 = await deployContract(wallet, BasicToken, [utils.parseEther('999999')]);
contract = await deployContract(wallet, AmIRichAlready, [ERC20.address]);
expect(await contract.check()).to.be.equal(false);
Expand Down
2 changes: 1 addition & 1 deletion examples/mock-contracts/test/AmIRichAlready.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe('Am I Rich Already', () => {
contract = await deployContract(wallet, AmIRichAlready, [mockERC20.address]);
});

it('returns false if the wallet has less then 1000000 coins', async () => {
it('returns false if the wallet has less than 1000000 coins', async () => {
await mockERC20.mock.balanceOf.returns(utils.parseEther('999999'));
expect(await contract.check()).to.be.equal(false);
});
Expand Down
2 changes: 1 addition & 1 deletion waffle-mock-contract/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ describe('Am I Rich Already', () => {
contract = await contractFactory.deploy(mockERC20.address);
});

it('returns false if the wallet has less then 1000000 coins', async () => {
it('returns false if the wallet has less than 1000000 coins', async () => {
await mockERC20.mock.balanceOf.returns(utils.parseEther('999999'));
expect(await contract.check()).to.be.equal(false);
});
Expand Down
2 changes: 1 addition & 1 deletion waffle-mock-contract/test/amirichalready.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('Am I Rich Already', () => {
contract = await contractFactory.deploy(mockERC20.address);
});

it('returns false if the wallet has less then 1000000 coins', async () => {
it('returns false if the wallet has less than 1000000 coins', async () => {
await mockERC20.mock.balanceOf.returns(utils.parseEther('999999'));
expect(await contract.check()).to.be.equal(false);
});
Expand Down