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

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

Issue 18497014: Fixed documentation for CustomMatcher (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/lib/src/core_matchers.dart
diff --git a/pkg/unittest/lib/src/core_matchers.dart b/pkg/unittest/lib/src/core_matchers.dart
index ca7cfb6b8bd9beeb9eec9a1a6504f262f5d806f4..65dc2d5da8edb7e3118eabd330fed195a89e415c 100644
--- a/pkg/unittest/lib/src/core_matchers.dart
+++ b/pkg/unittest/lib/src/core_matchers.dart
@@ -778,10 +778,10 @@ class _Predicate extends BaseMatcher {
* The feature description will typically describe the item and the feature,
* while the feature name will just name the feature. For example, we may
* have a Widget class where each Widget has a price; we could make a
- * FeatureMatcher that can make assertions about prices with:
+ * [CustomMatcher] that can make assertions about prices with:
*
- * class HasPrice extends FeatureMatcher {
- * const HasPrice(matcher) :
+ * class HasPrice extends CustomMatcher {
+ * HasPrice(matcher) :
* super("Widget with price that is", "price", matcher);
* featureValueOf(actual) => actual.price;
* }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698