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

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

Issue 48293002: Remove @deprecated features. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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
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 f0107be7a2b26f77cd51db16dc7fe14fbae99827..dda298905fc1c3856bc8d6d4adcd80691dbedeb7 100644
--- a/pkg/unittest/lib/src/iterable_matchers.dart
+++ b/pkg/unittest/lib/src/iterable_matchers.dart
@@ -58,12 +58,6 @@ 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].
*/
@@ -231,7 +225,7 @@ class _PairwiseCompare extends _IterableMatcher {
}
return true;
}
-
+
Description describe(Description description) =>
description.add('pairwise $_description ').addDescriptionOf(_expected);

Powered by Google App Engine
This is Rietveld 408576698