diff --git a/test/ERC721A.test.js b/test/ERC721A.test.js index 62c7f420f..43e1cdc4a 100644 --- a/test/ERC721A.test.js +++ b/test/ERC721A.test.js @@ -226,6 +226,10 @@ const createTestSuite = ({ contract, constructorArgs }) => it('reverts for an invalid token', async function () { await expect(this.erc721a.ownerOf(10)).to.be.revertedWith('OwnerQueryForNonexistentToken'); + + if (this.startTokenId > 0) { + await expect(this.erc721a.ownerOf(0)).to.be.revertedWith('OwnerQueryForNonexistentToken'); + } }); });