Closed
Description
After upgrading solidity-coverage dependency from 0.8.6 to 0.8.7, my branch coverage percentage decreased from 100% to 91.67%.
Apparently, the issue is related to the onlyOwner
modifier from OpenZeppelin's Ownable.sol
contract. According to the coverage report, the else
branch is not being covered.
However, I have logged the results of the following require statement and both of the results are being checked.
The smart contract code has not been modified.
Any thoughts on this?