/// Consumes the next line of output, asserting if any value in msgs is contained within.
Consumes the next line of output, asserting if any value in msgs is contained within.
Consumes the next line of output asserting if any value in msgs is contained within .
pub async fn line_contains_none<'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()),
                "found unwanted '{}' in message {:?}",
                text,
                message,
            )
        }
    }
pub async fn line_contains_none < ' 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 contained within.
Consumes the next line of output asserting if any value in msgs is contained within .
&mut self
msgs
Vec<S>