ExpectImpl.expect

Expects toExpect in output of spawn within Spawns timeout

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

Meta