Skip to content

Allow error message like standard library assertions #25

Open
@FSMaxB

Description

@FSMaxB

It would be great if the assertion macros were to support specifying an error message with format parameters as the standard library assertions do.

Example:

assert_eq!(1, 2, "Numbers in test case {} didn't match", case);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions