Expand description
Assert a std::io::Read read_to_string() is a match to a regex.
Pseudocode:
(reader.read_to_string(a) ⇒ a) matches matcher
§Example
use assertables::*;
use std::io::Read;
use regex::Regex;
let mut reader = "hello".as_bytes();
let matcher = Regex::new(r"ell").unwrap();
assert_io_read_to_string_matches!(reader, &matcher);