=str fix double-dilation in StreamTestKit

This commit is contained in:
Konrad Malawski 2015-09-29 10:26:18 +02:00
parent 880d51b89b
commit f416e89edb

View file

@ -213,7 +213,7 @@ object TestSubscriber {
* Expect and return [[SubscriberEvent]] (any of: `OnSubscribe`, `OnNext`, `OnError` or `OnComplete`).
*/
def expectEvent(max: FiniteDuration): SubscriberEvent =
probe.expectMsgType[SubscriberEvent](max.dilated)
probe.expectMsgType[SubscriberEvent](max)
/**
* Fluent DSL