Open
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.