Does expectCall
work when the count
is zero?
#7187
-
i.e. like this: vm.expectCall(
callee: address(someAddress),
data: abi.encodeCall(token.transfer, (alice, 10)),
count: 0
); Would this fail the test if there's at least 1 call made? |
Beta Was this translation helpful? Give feedback.
Answered by
smol-ninja
Feb 20, 2024
Replies: 1 comment 1 reply
-
Yes, it would fail. The |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
PaulRBerg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, it would fail. The
count
is used as a strict parameter.