-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
expectRevert
cheat code doesn't work for internal calls
#864
Comments
expectRevert
cheat code doesn't work for library callsexpectRevert
cheat code doesn't work for internal calls
Yep- this is because the |
Ref #432 |
Assigning myself to this as I want to work on it, but it is going to be a while until it lands since it also requires some changes in |
Tentatively added to stable milestone but it may prove infeasible in which case I will report back here |
Closing in favor of generic |
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
0.1.0 (39b6e39 2022-03-08T00:08:31.449073+00:00)
What command(s) is the bug in?
forge test
Operating System
macOS (M1)
Describe the bug
when trying to test internal calls (like libraries),
expectRevert
cheat code doesn't work.example code:
forge test
output:The text was updated successfully, but these errors were encountered: