Expand description
A collection of useful assertions and other utilities for writing tests in Rust.
Macros§
- assert_
matches - Assert that the value of an expression matches a given pattern.
- assert_
panics - Assert that an expression panics.
- assertion_
failure - Panic with an assertion failure message
Functions§
- get_
panic_ message - Get the panic message as a
&str
, if available