Explorar o código

Fix typos in the tests (#4452)

Pierre Grimaud %!s(int64=2) %!d(string=hai) anos
pai
achega
921ac49ccb

+ 1 - 1
test/governance/extensions/GovernorWithParams.test.js

@@ -147,7 +147,7 @@ contract('GovernorWithParams', function (accounts) {
             ethSigUtil.signTypedMessage(privateKey, { data: await this.data(contract, message) });
         });
 
-        it('suports EOA signatures', async function () {
+        it('supports EOA signatures', async function () {
           await this.token.delegate(this.voterBySig.address, { from: voter2 });
 
           const weight = web3.utils.toBN(web3.utils.toWei('7')).sub(rawParams.uintParam);

+ 1 - 1
test/helpers/governance.js

@@ -81,7 +81,7 @@ class GovernorHelper {
           ...concatOpts(proposal.shortProposal, opts),
         );
       default:
-        throw new Error(`unsuported visibility "${visibility}"`);
+        throw new Error(`unsupported visibility "${visibility}"`);
     }
   }