Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
lint
  • Loading branch information
frangio authored Sep 4, 2023
commit 67d1a7c5ccc9365078c0dcd8a9962d3924f93b9e
6 changes: 1 addition & 5 deletions test/access/Ownable.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@ contract('Ownable', function (accounts) {
});

it('rejects zero address for initialOwner', async function () {
await expectRevertCustomError(
Ownable.new(constants.ZERO_ADDRESS),
'OwnableInvalidOwner',
[constants.ZERO_ADDRESS],
);
await expectRevertCustomError(Ownable.new(constants.ZERO_ADDRESS), 'OwnableInvalidOwner', [constants.ZERO_ADDRESS]);
});

it('has an owner', async function () {
Expand Down