From e05f501263236a8e059fd6b3945fe66a545e0ca0 Mon Sep 17 00:00:00 2001 From: Zentex Date: Tue, 3 Feb 2026 22:32:32 +0530 Subject: [PATCH] Fix grammar: 'less then' to 'less than' --- docs/source/mock-contract.rst | 2 +- examples/called-on-contract/test/AmIRichAlready.test.ts | 2 +- examples/mock-contracts/test/AmIRichAlready.test.ts | 2 +- waffle-mock-contract/README.md | 2 +- waffle-mock-contract/test/amirichalready.test.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/source/mock-contract.rst b/docs/source/mock-contract.rst index 6e7144701..473a3e3f6 100644 --- a/docs/source/mock-contract.rst +++ b/docs/source/mock-contract.rst @@ -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); diff --git a/examples/called-on-contract/test/AmIRichAlready.test.ts b/examples/called-on-contract/test/AmIRichAlready.test.ts index 9c36d0e89..1e940580e 100644 --- a/examples/called-on-contract/test/AmIRichAlready.test.ts +++ b/examples/called-on-contract/test/AmIRichAlready.test.ts @@ -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); diff --git a/examples/mock-contracts/test/AmIRichAlready.test.ts b/examples/mock-contracts/test/AmIRichAlready.test.ts index 721858445..a1d8b4495 100644 --- a/examples/mock-contracts/test/AmIRichAlready.test.ts +++ b/examples/mock-contracts/test/AmIRichAlready.test.ts @@ -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); }); diff --git a/waffle-mock-contract/README.md b/waffle-mock-contract/README.md index dc1d9d832..ecfb512e9 100644 --- a/waffle-mock-contract/README.md +++ b/waffle-mock-contract/README.md @@ -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); }); diff --git a/waffle-mock-contract/test/amirichalready.test.ts b/waffle-mock-contract/test/amirichalready.test.ts index 5f248868c..d42dbeef8 100644 --- a/waffle-mock-contract/test/amirichalready.test.ts +++ b/waffle-mock-contract/test/amirichalready.test.ts @@ -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); });