| Index: pkg/scheduled_test/lib/src/scheduled_future_matchers.dart
|
| diff --git a/pkg/scheduled_test/lib/src/scheduled_future_matchers.dart b/pkg/scheduled_test/lib/src/scheduled_future_matchers.dart
|
| index 7241171181675cc7e836708bfc8510cd928a1775..fdfcd44a51563bd953d10ed50981b6698a864202 100644
|
| --- a/pkg/scheduled_test/lib/src/scheduled_future_matchers.dart
|
| +++ b/pkg/scheduled_test/lib/src/scheduled_future_matchers.dart
|
| @@ -6,8 +6,6 @@ library scheduled_future_matchers;
|
|
|
| import 'dart:async';
|
|
|
| -import 'package:stack_trace/stack_trace.dart';
|
| -
|
| import '../scheduled_test.dart';
|
|
|
| /// Matches a [Future] that completes successfully with a value. Note that this
|
| @@ -62,11 +60,9 @@ class _ScheduledCompletes extends Matcher {
|
| }
|
| }
|
|
|
| - var outerTrace = new Trace.current();
|
| currentSchedule.wrapFuture(item.then((value) {
|
| if (_matcher == null) return;
|
|
|
| - // TODO(floitsch): we cannot switch traces anymore.
|
| // If expect throws we might want to be able to switch to the outer trace
|
| // instead.
|
| expect(value, _matcher);
|
|
|