| Index: pkg/scheduled_test/lib/src/substitute_future.dart
|
| diff --git a/pkg/scheduled_test/lib/src/substitute_future.dart b/pkg/scheduled_test/lib/src/substitute_future.dart
|
| index c4b9ffb9c787ee7d127a604ff7d80d893654bcab..d30c9364e886ac4660eab75713b6be93cd90b59c 100644
|
| --- a/pkg/scheduled_test/lib/src/substitute_future.dart
|
| +++ b/pkg/scheduled_test/lib/src/substitute_future.dart
|
| @@ -29,6 +29,8 @@ class SubstituteFuture<T> implements Future<T> {
|
| Future then(onValue(T value), {Function onError}) =>
|
| _completer.future.then(onValue, onError: onError);
|
| Future<T> whenComplete(action()) => _completer.future.whenComplete(action);
|
| + Future timeout(Duration timeLimit, [void onTimeout()]) =>
|
| + _completer.future.timeout(timeLimit, onTimeout);
|
|
|
| /// Substitutes [newFuture] for the currently wrapped [Future], which is
|
| /// returned.
|
|
|