-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cheatcodes): Make
expectEmit
only work for the next call (#4920)
* chore: add new expect emit logic * feat: handle expect emits on the next immediate call and error appropiately * chore: tests * chore: simplify errors * chore: remove unused actual count * chore: clippy * chore: remove unneeded test artifacts * chore: ignore STATICCALLs * chore: fix additive behavior * chore: add more tests * chore: lint * chore: be able to match in between events rather than strictly full-sequences * chore: clippy * chore: lint expect emit * chore: simplify if
- Loading branch information
Showing
4 changed files
with
234 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.