Skip to content

Reverting and stopping execution using assertEq #7793

Closed
@sunbreak1211

Description

Hey, not sure if I should upload this issue here or in foundry repo, but with the implementation of this commit: foundry-rs/forge-std@1432518 the behavior of assertEq changed (and I assume the others as well). It is now reverting and stopping execution instead of throwing a simple log and test failure.
I would believe this behavior change is not intended and we'd want to still stick with the original one (referred from example here:

/// DSTest will not revert inside its `assertEq`-like functions which allows
).

forge --version
forge 0.2.0 (e01038f 2024-04-25T00:29:53.251953000Z)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions