소스 검색

Update ERC721.behavior.js (#2801)

William Entriken 4 년 전
부모
커밋
d89f2a4ac6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      test/token/ERC721/ERC721.behavior.js

+ 1 - 1
test/token/ERC721/ERC721.behavior.js

@@ -678,7 +678,7 @@ function shouldBehaveLikeERC721 (errorPrefix, owner, newOwner, approved, another
   describe('_burn', function () {
     it('reverts when burning a non-existent token id', async function () {
       await expectRevert(
-        this.token.burn(firstTokenId), 'ERC721: owner query for nonexistent token',
+        this.token.burn(nonExistentTokenId), 'ERC721: owner query for nonexistent token',
       );
     });