-
Notifications
You must be signed in to change notification settings - Fork 40
Add it (not) matches_regex ... #80
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
As an user of test case I want to be able to test whether actual value matches giver regular expression within complex assertions, eg.:
#[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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request