upgrade solidity-coverage to 0.7.18 to support ERC165 coverage (#3117)
This commit is contained in:
@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user