Index: pkg/unittest/lib/src/iterable_matchers.dart |
diff --git a/pkg/unittest/lib/src/iterable_matchers.dart b/pkg/unittest/lib/src/iterable_matchers.dart |
index dda298905fc1c3856bc8d6d4adcd80691dbedeb7..f0107be7a2b26f77cd51db16dc7fe14fbae99827 100644 |
--- a/pkg/unittest/lib/src/iterable_matchers.dart |
+++ b/pkg/unittest/lib/src/iterable_matchers.dart |
@@ -58,6 +58,12 @@ class _EveryElement extends _IterableMatcher { |
} |
/** |
+ * Deprecated form of [anyElement]. |
+ */ |
+@deprecated |
+Matcher someElement(matcher) => new _AnyElement(wrapMatcher(matcher)); |
+ |
+/** |
* Returns a matcher which matches [Iterable]s in which at least one |
* element matches the given [matcher]. |
*/ |
@@ -225,7 +231,7 @@ class _PairwiseCompare extends _IterableMatcher { |
} |
return true; |
} |
- |
+ |
Description describe(Description description) => |
description.add('pairwise $_description ').addDescriptionOf(_expected); |