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]}>'); |
} |
} |