Fix typos in testing files (#3899)
This commit is contained in:
@ -16,7 +16,7 @@ import "../proxy/utils/Initializable.sol";
|
||||
// -- Child --
|
||||
|
||||
/**
|
||||
* Sample base intializable contract that is a human
|
||||
* Sample base initializable contract that is a human
|
||||
*/
|
||||
contract SampleHuman is Initializable {
|
||||
bool public isHuman;
|
||||
@ -37,7 +37,7 @@ contract SampleHuman is Initializable {
|
||||
}
|
||||
|
||||
/**
|
||||
* Sample base intializable contract that defines a field mother
|
||||
* Sample base initializable contract that defines a field mother
|
||||
*/
|
||||
contract SampleMother is Initializable, SampleHuman {
|
||||
uint256 public mother;
|
||||
@ -59,7 +59,7 @@ contract SampleMother is Initializable, SampleHuman {
|
||||
}
|
||||
|
||||
/**
|
||||
* Sample base intializable contract that defines a field gramps
|
||||
* Sample base initializable contract that defines a field gramps
|
||||
*/
|
||||
contract SampleGramps is Initializable, SampleHuman {
|
||||
string public gramps;
|
||||
@ -81,7 +81,7 @@ contract SampleGramps is Initializable, SampleHuman {
|
||||
}
|
||||
|
||||
/**
|
||||
* Sample base intializable contract that defines a field father and extends from gramps
|
||||
* Sample base initializable contract that defines a field father and extends from gramps
|
||||
*/
|
||||
contract SampleFather is Initializable, SampleGramps {
|
||||
uint256 public father;
|
||||
|
||||
@ -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