Fix typos in testing files (#3899)

This commit is contained in:
Pierre Grimaud
2022-12-29 00:16:56 +01:00
committed by GitHub
parent cafe5eb985
commit b0db207e4e
3 changed files with 8 additions and 8 deletions

View File

@ -454,7 +454,7 @@ contract('Governor', function (accounts) {
await expectRevert(this.helper.propose(), 'Governor: empty proposal');
});
it('missmatch #1', async function () {
it('mismatch #1', async function () {
this.helper.setProposal({
targets: [ ],
values: [ web3.utils.toWei('0') ],
@ -463,7 +463,7 @@ contract('Governor', function (accounts) {
await expectRevert(this.helper.propose(), 'Governor: invalid proposal length');
});
it('missmatch #2', async function () {
it('mismatch #2', async function () {
this.helper.setProposal({
targets: [ this.receiver.address ],
values: [ ],
@ -472,7 +472,7 @@ contract('Governor', function (accounts) {
await expectRevert(this.helper.propose(), 'Governor: invalid proposal length');
});
it('missmatch #3', async function () {
it('mismatch #3', async function () {
this.helper.setProposal({
targets: [ this.receiver.address ],
values: [ web3.utils.toWei('0') ],

View File

@ -168,7 +168,7 @@ contract('GovernorCompatibilityBravo', function (accounts) {
);
});
it('double voting is forbiden', async function () {
it('double voting is forbidden', async function () {
await this.helper.propose({ from: proposer });
await this.helper.waitForSnapshot();
await this.helper.vote({ support: Enums.VoteType.For }, { from: voter1 });