Skip to content

Commit

Permalink
Fix typo on ERC721 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
itamarcps committed Feb 24, 2024
1 parent 395e428 commit 20352db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/contract/erc721.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,9 @@ namespace TERC721 {
REQUIRE(sdk.callViewFunction(ERC721Address, &ERC721Test::balanceOf, accountToSent.address) == 100);
}
REQUIRE(sdk.callViewFunction(ERC721Address, &ERC721Test::totalSupply) == 100);
// Make sure that the allowance was removed after the transfer
// Make sure that the allowance was removed af ter the transfer
for (int i = 0; i < 100; ++i) {
REQUIRE_THROWS(sdk.callViewFunction(ERC721Address, &ERC721Test::getApproved, uint256_t(i)) == Address());
REQUIRE(sdk.callViewFunction(ERC721Address, &ERC721Test::getApproved, uint256_t(i)) == Address());
}
}
}
Expand Down

0 comments on commit 20352db

Please sign in to comment.