When something reverts, the whole transaction unwinds and it's like nothing happened. However, expectCalls and expectEmits are still matched. We should not allow this to happen, but rather error if we have both a revert and another expect cheatcode being used together at the same time, for the next call.
When something reverts, the whole transaction unwinds and it's like nothing happened. However,
expectCalls andexpectEmits are still matched. We should not allow this to happen, but rather error if we have both arevertand anotherexpectcheatcode being used together at the same time, for the next call.