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

Unified Diff: sdk/lib/core/expect.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | « sdk/lib/core/errors.dart ('k') | sdk/lib/core/future.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/core/expect.dart
diff --git a/sdk/lib/core/expect.dart b/sdk/lib/core/expect.dart
index 6953d06cac87bfd535861023436562ca51cf2bc5..68b765f0f312a0d06e643866af637266c0d2fa85 100644
--- a/sdk/lib/core/expect.dart
+++ b/sdk/lib/core/expect.dart
@@ -120,7 +120,8 @@ class Expect {
if (expected.length != actual.length) {
_fail('Expect.listEquals(list length, '
'expected: <${expected.length}>, actual: <${actual.length}>$msg) '
- 'fails');
+ 'fails: Next element <'
+ '${expected.length > n ? expected[n] : actual[n]}>');
}
}
« no previous file with comments | « sdk/lib/core/errors.dart ('k') | sdk/lib/core/future.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698