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.
See the macro assert_matches
documentation for more information.
Macros
assert_matches |
Asserts that an expression matches a given pattern. |