Skip to content

Commit

Permalink
fix: wrong error name
Browse files Browse the repository at this point in the history
  • Loading branch information
0xneves committed Jun 6, 2024
1 parent 55963c8 commit ce31d03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/TestSwaplace.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ describe("Swaplace", async function () {
);
await expect(
Swaplace.connect(owner).createSwap(swap, { value: valueToSend }),
).to.be.revertedWithCustomError(Swaplace, `InvalidSender`);
).to.be.revertedWithCustomError(Swaplace, `InvalidValue`);
});
});
});
Expand Down

0 comments on commit ce31d03

Please sign in to comment.