expectRevert
cheat code doesn't work for internal calls
#864
Labels
A-cheatcodes
Area: cheatcodes
C-forge
Command: forge
Cmd-forge-test
Command: forge test
D-hard
Difficulty: hard
P-normal
Priority: normal
T-bug
Type: bug
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: