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
up
  • Loading branch information
ernestognw committed May 24, 2024
commit a45f786a54734167c2300219f8fa6e6af4a775f7
8 changes: 4 additions & 4 deletions test/utils/Create2.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ describe('Create2', function () {
});

describe('reverts error thrown during contract creation', function () {
it('Revert without message', async function () {
it('bubbles up without message', async function () {
await expect(
this.factory.$deploy(
0n,
Expand All @@ -150,7 +150,7 @@ describe('Create2', function () {
).to.be.revertedWithCustomError(this.factory, 'FailedDeployment');
});

it('Revert with message', async function () {
it('bubbles up message', async function () {
await expect(
this.factory.$deploy(
0n,
Expand All @@ -163,7 +163,7 @@ describe('Create2', function () {
).to.be.revertedWith('ConstructorMock: reverting');
});

it('Revert with custom error', async function () {
it('bubbles up custom error', async function () {
await expect(
this.factory.$deploy(
0n,
Expand All @@ -176,7 +176,7 @@ describe('Create2', function () {
).to.be.revertedWithCustomError({ interface: this.mockFactory.interface }, 'CustomError');
});

it('Panic', async function () {
it('bubbles up panic', async function () {
await expect(
this.factory.$deploy(
0n,
Expand Down