Closed luke-biel closed 2 years ago
As an user of test case I want to be able to test whether actual value matches giver regular expression within complex assertions, eg.:
actual
#[test_case("1" => it matches_regex "[0-9]")] fn test_this(s: &str) -> &str { s }
This feature has to be hidden behind feature flag (regex) and require user to manually import https://docs.rs/regex/latest/regex/ crate
regex
As an user of test case I want to be able to test whether
actual
value matches giver regular expression within complex assertions, eg.:This feature has to be hidden behind feature flag (
regex
) and require user to manually import https://docs.rs/regex/latest/regex/ crate