/// Consumes the next line of output, asserting if any value in msgs is missing.
Consumes the next line of output, asserting if any value in msgs is missing.
Consumes the next line of output asserting if any value in msgs is missing .
pub async fn line_contains_all<'a, S>(&mut self, msgs: Vec<S>)
    where
        S: Into<Cow<'a, str>>,
    {
        let message = self.read_line().await;
        for text in msgs {
            let text = text.into();
            assert!(
                message.contains(text.as_ref()),
                "did not find '{}' in message {:?}",
                text,
                message,
            )
        }
    }
pub async fn line_contains_all < ' a , S > ( & mut self , msgs : Vec < S > ) where S : Into < Cow < ' a , str > > , { let message = self . read_line ( ) . await ; for text in msgs { let text = text . into ( ) ; assert ! ( message contains ( text as_ref ( ) ) " " text message ) } }
Consumes the next line of output, asserting if any value in msgs is missing.
Consumes the next line of output asserting if any value in msgs is missing .
&mut self
msgs
Vec<S>