Skip to content

Commit

Permalink
remvoe extra comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetbout committed Jun 27, 2024
1 parent 3027145 commit f25ed3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests-integration/account.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe("Escrow Account", function () {
const { factory } = await setupGiftProtocol();
const { gift } = await defaultDepositTestSetup({ factory });
const escrowAddress = calculateEscrowAddress(gift);
// This says validate but calls execute?

await expectRevertWithErrorMessage("escrow/only-protocol", () =>
deployer.execute([{ contractAddress: escrowAddress, calldata: [0x0], entrypoint: "__validate__" }]),
);
Expand Down
4 changes: 3 additions & 1 deletion tests-integration/cancel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ describe("Cancel Gift", function () {
it(`wrong sender`, async function () {
const { factory } = await setupGiftProtocol();
const { gift } = await defaultDepositTestSetup({ factory });
await expectRevertWithErrorMessage("escr-lib/wrong-sender", () => cancelGift({ gift, senderAccount: devnetAccount() }));
await expectRevertWithErrorMessage("escr-lib/wrong-sender", () =>
cancelGift({ gift, senderAccount: devnetAccount() }),
);
});

it(`owner reclaim dust (gift_token == fee_token)`, async function () {
Expand Down

0 comments on commit f25ed3d

Please sign in to comment.