upgrade solidity-coverage to 0.7.18 to support ERC165 coverage (#3117)

This commit is contained in:
Hadrien Croubois
2022-01-18 04:05:17 +01:00
committed by GitHub
parent 25eeb80b18
commit 783ac759a9
3 changed files with 10 additions and 10 deletions

View File

@ -99,11 +99,11 @@ function shouldSupportInterfaces (interfaces = []) {
const interfaceId = INTERFACE_IDS[k];
describe(k, function () {
describe('ERC165\'s supportsInterface(bytes4)', function () {
it('uses less than 30k gas [skip-on-coverage]', async function () {
it('uses less than 30k gas', async function () {
expect(await this.contractUnderTest.supportsInterface.estimateGas(interfaceId)).to.be.lte(30000);
});
it('claims support [skip-on-coverage]', async function () {
it('claims support', async function () {
expect(await this.contractUnderTest.supportsInterface(interfaceId)).to.equal(true);
});
});