Module assertables::assert_not_match

source ·
Expand description

Assert an expression (such as a regex) is not a match for an expression (such as a string).

Pseudocode:
¬ a.is_match(b)

§Example

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

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

§Module macros