Update all dependencies transitively (#2363)
This commit is contained in:
committed by
GitHub
parent
bf4c9d700d
commit
ace35fdeda
@ -28,14 +28,14 @@ describe('Ownable', function () {
|
||||
it('prevents non-owners from transferring', async function () {
|
||||
await expectRevert(
|
||||
this.ownable.transferOwnership(other, { from: other }),
|
||||
'Ownable: caller is not the owner'
|
||||
'Ownable: caller is not the owner',
|
||||
);
|
||||
});
|
||||
|
||||
it('guards ownership against stuck state', async function () {
|
||||
await expectRevert(
|
||||
this.ownable.transferOwnership(ZERO_ADDRESS, { from: owner }),
|
||||
'Ownable: new owner is the zero address'
|
||||
'Ownable: new owner is the zero address',
|
||||
);
|
||||
});
|
||||
});
|
||||
@ -51,7 +51,7 @@ describe('Ownable', function () {
|
||||
it('prevents non-owners from renouncement', async function () {
|
||||
await expectRevert(
|
||||
this.ownable.renounceOwnership({ from: other }),
|
||||
'Ownable: caller is not the owner'
|
||||
'Ownable: caller is not the owner',
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user