Module assertables::assert_is_match

source ·
Expand description

Assert a matcher is a match for an expression.

§Example

use std::process::Command;
use regex::Regex;

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

§Module macros