ExpectImpl.expect

Expects toExpect in output of spawn within custom timeout

  1. int expect(string toExpect)
  2. int expect(string toExpect, Duration timeout)
    class ExpectImpl(OutputRange)
    int
    expect
    (
    string toExpect
    ,
    Duration timeout
    )
    if (
    isOutputRange!(OutputRange, string)
    )

Meta