spelling error (#5505)

typo-fixes
Vitalyr 1 week ago committed by GitHub
parent 12c9e0e501
commit aa94087d0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      test/token/ERC20/extensions/ERC20Wrapper.test.js

@ -77,7 +77,7 @@ describe('ERC20Wrapper', function () {
.withArgs(this.token, 0, initialSupply); .withArgs(this.token, 0, initialSupply);
}); });
it('reverts when inssuficient balance', async function () { it('reverts when insufficient balance', async function () {
await this.underlying.connect(this.holder).approve(this.token, ethers.MaxUint256); await this.underlying.connect(this.holder).approve(this.token, ethers.MaxUint256);
await expect(this.token.connect(this.holder).depositFor(this.holder, ethers.MaxUint256)) await expect(this.token.connect(this.holder).depositFor(this.holder, ethers.MaxUint256))
@ -117,7 +117,7 @@ describe('ERC20Wrapper', function () {
await this.token.connect(this.holder).depositFor(this.holder, initialSupply); await this.token.connect(this.holder).depositFor(this.holder, initialSupply);
}); });
it('reverts when inssuficient balance', async function () { it('reverts when insufficient balance', async function () {
await expect(this.token.connect(this.holder).withdrawTo(this.holder, ethers.MaxInt256)) await expect(this.token.connect(this.holder).withdrawTo(this.holder, ethers.MaxInt256))
.to.be.revertedWithCustomError(this.token, 'ERC20InsufficientBalance') .to.be.revertedWithCustomError(this.token, 'ERC20InsufficientBalance')
.withArgs(this.holder, initialSupply, ethers.MaxInt256); .withArgs(this.holder, initialSupply, ethers.MaxInt256);

Loading…
Cancel
Save