Skip to content
Merged
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
4 changes: 2 additions & 2 deletions test/token/ERC20/extensions/ERC20Wrapper.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ describe('ERC20Wrapper', function () {
.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 expect(this.token.connect(this.holder).depositFor(this.holder, ethers.MaxUint256))
Expand Down Expand Up @@ -117,7 +117,7 @@ describe('ERC20Wrapper', function () {
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))
.to.be.revertedWithCustomError(this.token, 'ERC20InsufficientBalance')
.withArgs(this.holder, initialSupply, ethers.MaxInt256);
Expand Down
Loading