Index: pkg/unittest/lib/unittest.dart |
diff --git a/pkg/unittest/lib/unittest.dart b/pkg/unittest/lib/unittest.dart |
index d5ac02392a7038488480f9e8a21b9ae4fdde94cf..141d16b718863ac83b0eb705049f1928f16e0700 100644 |
--- a/pkg/unittest/lib/unittest.dart |
+++ b/pkg/unittest/lib/unittest.dart |
@@ -689,7 +689,7 @@ void filterTests(testFilter) { |
} else if (testFilter is Function) { |
filterFunction = testFilter; |
} |
- _tests.retainMatching(filterFunction); |
+ _tests.retainWhere(filterFunction); |
} |
/** Runs all queued tests, one at a time. */ |