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

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
« no previous file with comments | « lib/unittest/expect.dart ('k') | lib/unittest/interfaces.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/unittest/future_matchers.dart
===================================================================
--- lib/unittest/future_matchers.dart (revision 10002)
+++ 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;
}
-}
+}
« no previous file with comments | « lib/unittest/expect.dart ('k') | lib/unittest/interfaces.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698