Skip to content

Commit e28f496

Browse files
committed
Fix test
1 parent 01567bb commit e28f496

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/test/EthscriptionsToken.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ contract EthscriptionsTokenTest is TestSetup {
304304

305305
// Bob tries to transfer tokens directly (not via NFT) - should revert
306306
vm.prank(bob);
307-
vm.expectRevert("Transfers only allowed via Ethscriptions NFT");
307+
vm.expectRevert(EthscriptionsERC20.TransfersOnlyViaEthscriptions.selector);
308308
token.transfer(charlie, 500);
309309
}
310310

0 commit comments

Comments
 (0)