Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
manasbir committed Jul 7, 2023
1 parent 3064406 commit 55eec6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/tokens/ERC721.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ contract ERC721Test is Test {
assertEq(token.balanceOf(address(this)), 0);
assertEq(token.getApproved(1337), address(0));

vm.expectRevert(bytes("ZERO_ADDRESS"));
vm.expectRevert(bytes("NOT_MINTED"));
assertEq(token.ownerOf(1337), address(0));

vm.expectRevert(bytes("NOT_MINTED"));
Expand All @@ -140,7 +140,7 @@ contract ERC721Test is Test {
assertEq(token.balanceOf(address(this)), 0);
assertEq(token.getApproved(1337), address(0));

vm.expectRevert(bytes("ZERO_ADDRESS"));
vm.expectRevert(bytes("NOT_MINTED"));
assertEq(token.ownerOf(1337), address(0));

vm.expectRevert(bytes("NOT_MINTED"));
Expand Down

0 comments on commit 55eec6e

Please sign in to comment.