Fix typos in testing files (#3899)
This commit is contained in:
@ -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') ],
|
||||
|
||||
@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user