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

Unified Diff: lib/unittest/future_matchers.dart

Issue 10832058: Improved the way we generate mismatch descriptions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
Index: lib/unittest/future_matchers.dart
===================================================================
--- lib/unittest/future_matchers.dart (revision 9956)
+++ lib/unittest/future_matchers.dart (working copy)
@@ -29,7 +29,7 @@
const _Completes(this._matcher);
- bool matches(item) {
+ bool matches(item, MatchState matchState) {
if (item is! Future) return false;
item.onComplete(expectAsync1((future) {
@@ -56,4 +56,4 @@
}
return description;
}
-}
+}

Powered by Google App Engine
This is Rietveld 408576698