Module lib::assert_is_match::assert_is_match

source ·
Expand description

Assert a matcher is a match for an expression.

Pseudocode:
a.is_match(b)

§Example

use assertables::*;
use regex::Regex;

let a = Regex::new(r"lf").unwrap();
let b = "alfa";
assert_is_match!(a, b);

§Module macros