-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
A-snapboxArea: snapbox packageArea: snapbox package
Description
std::assert_eq
supports providing a custom panic message in a third argument (optionally followed by further parameters for the message arguments). pretty_assertions
and similar-asserts
both provide assert_eq!
macros that are compatible.
snapbox
however currently appears to hard-code it's panic message:
I think custom panic messages are a nice way to provide more context to a test failure, so I think it would be great if snapbox supported them.
Metadata
Metadata
Assignees
Labels
A-snapboxArea: snapbox packageArea: snapbox package