Replace all asserts with chai.should (#1183)
* Moving towards chai.should. * Fixed failing tests. * Fixed linter errors. * Revert package-lock.json changes. * Fixed failing tests. * s/eq/equal * Addressed review comment
This commit is contained in:
committed by
Francisco Giordano
parent
a2e7103869
commit
ac91af9a6a
@ -52,7 +52,7 @@ contract('ECRecovery', function ([_, anyone]) {
|
||||
|
||||
// Recover the signer address from the generated message and wrong signature.
|
||||
const addrRecovered = await ecrecovery.recover(hashMessage('Nope'), signature);
|
||||
assert.notEqual(anyone, addrRecovered);
|
||||
addrRecovered.should.not.eq(anyone);
|
||||
});
|
||||
|
||||
it('recover should revert when a small hash is sent', async function () {
|
||||
|
||||
Reference in New Issue
Block a user