pub async fn assert_reader_with(&self, rhs: &str, f: impl Fn(&mut String, &mut String)) {
        let mut lhs = self.reader().await;
        let mut rhs = String::from(rhs);
        f(&mut lhs, &mut rhs);
        pretty_assertions::assert_eq!(lhs, rhs);
    }
/// Assert the reader but pass it through a closure first..
Assert the reader but pass it through a closure first
Assert the reader but pass it through a closure first
pub async fn assert_reader_with(&self, rhs: &str, f: impl Fn(&mut String, &mut String)) {
        let mut lhs = self.reader().await;
        let mut rhs = String::from(rhs);
        f(&mut lhs, &mut rhs);
        pretty_assertions::assert_eq!(lhs, rhs);
    }
pub async fn assert_reader_with ( & self , rhs : & str , f : impl Fn ( & mut String , & mut String ) ) { let mut lhs = self . reader ( ) . await ; let mut rhs = String :: from ( rhs ) ; f ( & mut lhs , & mut rhs ) ; pretty_assertions :: assert_eq ! ( lhs rhs ) ; }
Assert the reader but pass it through a closure first..
Assert the reader but pass it through a closure first ..
&self
rhs
&str
f
impl Fn(&mut String, &mut String)
&self
rhs
&str
f
impl Fn(&mut String, &mut String)