async_test_helpers

Function expect_stream_pending

Source
pub fn expect_stream_pending<S: Stream + Unpin>(
    exec: &mut TestExecutor,
    stream: &mut S,
)
Expand description

Polls the provided stream and expects that it is Pending (e.g no stream items).