Crate assert_matches [] [src]

Provides a macro, assert_matches, which tests whether a value matches a given pattern, causing a panic if the match fails.

Macros

assert_matches

Asserts that an expression matches a given pattern, with an optional guard expression.