[][src]Crate cool_asserts

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