| Index: pkg/unittest/lib/unittest.dart
|
| diff --git a/pkg/unittest/lib/unittest.dart b/pkg/unittest/lib/unittest.dart
|
| index 25d965ecd4dfd6c356800849b52324d9433999e9..c615b123405933b2f2e93e81cbe0a49ec2742182 100644
|
| --- a/pkg/unittest/lib/unittest.dart
|
| +++ b/pkg/unittest/lib/unittest.dart
|
| @@ -147,6 +147,7 @@
|
| */
|
| library unittest;
|
|
|
| +import 'dart:async';
|
| import 'dart:isolate';
|
| import 'matcher.dart';
|
| export 'matcher.dart';
|
| @@ -736,7 +737,7 @@ void filterTests(testFilter) {
|
| } else if (testFilter is Function) {
|
| filterFunction = testFilter;
|
| }
|
| - _tests = _tests.filter(filterFunction);
|
| + _tests = _tests.where(filterFunction).toList();
|
| }
|
|
|
| /** Runs all queued tests, one at a time. */
|
|
|