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

Unified Diff: pkg/unittest/core_matchers.dart

Issue 11265041: Fix break. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
« 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/core_matchers.dart
===================================================================
--- pkg/unittest/core_matchers.dart (revision 14114)
+++ pkg/unittest/core_matchers.dart (working copy)
@@ -280,7 +280,7 @@
// completes.
item.onComplete(expectAsync1((future) {
if (future.hasValue) {
- expect(false, isTrue, reason:
+ expect(false, isTrue,
"Expected future to fail, but succeeded with '${future.value}'.");
} else if (_matcher != null) {
var reason;
@@ -289,7 +289,7 @@
stackTrace = " ${stackTrace.replaceAll("\n", "\n ")}";
reason = "Actual exception trace:\n$stackTrace";
}
- expect(future.exception, _matcher, reason: reason);
+ expect(future.exception, _matcher, reason);
}
}));
« 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