From 5464b28967c4761ea2b643d0c9c9229212938f08 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Thu, 12 Oct 2023 12:30:12 +0000 Subject: [PATCH] fix: evm errors begin with a lower-case letter --- --- a/tests/src/eth/nativeFungible.test.ts +++ b/tests/src/eth/nativeFungible.test.ts @@ -33,7 +33,7 @@ const collectionAddress = helper.ethAddress.fromCollectionId(0); const contract = await helper.ethNativeContract.collection(collectionAddress, 'ft', owner); - await expect(contract.methods.approve(spender, 100).call({from: owner})).to.be.rejectedWith('Approve not supported'); + await expect(contract.methods.approve(spender, 100).call({from: owner})).to.be.rejectedWith('approve not supported'); }); itEth('balanceOf()', async ({helper}) => { @@ -170,4 +170,4 @@ await expect(contract.methods.transferFromCross(receiver, receiver, 50).call({from: owner.eth})).to.be.rejectedWith('no permission'); }); -}); \ No newline at end of file +}); -- gitstuff