pub fn assert_count_is<H: AsRef<str>, N: AsRef<str>>( expected_count: usize, haystack: H, needle: N, )
Assert that haystack contains regex needle an expected_count number of times.
haystack
needle
expected_count