Minor test style improvements (#1219)
* Changed .eq to .equal * Changed equal(bool) to .to.be.bool * Changed be.bool to equal(bool), disallowed unused expressions.
This commit is contained in:
@ -18,7 +18,7 @@ contract('HasNoContracts', function ([_, owner, anyone]) {
|
||||
|
||||
it('should allow owner to reclaim contracts', async function () {
|
||||
await hasNoContracts.reclaimContract(ownable.address, { from: owner });
|
||||
(await ownable.owner()).should.eq(owner);
|
||||
(await ownable.owner()).should.equal(owner);
|
||||
});
|
||||
|
||||
it('should allow only owner to reclaim contracts', async function () {
|
||||
|
||||
Reference in New Issue
Block a user