Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(264)

Unified Diff: pkg/unittest/lib/unittest.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/unittest/lib/src/future_matchers.dart ('k') | pkg/webdriver/lib/webdriver.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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. */
« no previous file with comments | « pkg/unittest/lib/src/future_matchers.dart ('k') | pkg/webdriver/lib/webdriver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698