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

Unified Diff: corelib/src/expect.dart

Issue 8576008: Fix Expect.listEquals error message. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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: corelib/src/expect.dart
diff --git a/corelib/src/expect.dart b/corelib/src/expect.dart
index bf6bc4315068d4981776f0064de3a43bc6292ba4..c7a202793cdd4a0d63fcabaf20a3d71870cad5d1 100644
--- a/corelib/src/expect.dart
+++ b/corelib/src/expect.dart
@@ -104,7 +104,7 @@ class Expect {
for (int i = 0; i < n; i++) {
if (expected[i] != actual[i]) {
_fail('Expect.listEquals(at index $i, ' +
- 'expected: <${expected[0]}>, actual: <${actual[i]}>$msg) fails');
+ 'expected: <${expected[i]}>, actual: <${actual[i]}>$msg) fails');
}
}
// We check on length at the end in order to provide better error
« 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