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

Unified Diff: pkg/unittest/test/matchers_unminified_test.dart

Issue 15755005: Change output of string equality match failures. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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
Index: pkg/unittest/test/matchers_unminified_test.dart
===================================================================
--- pkg/unittest/test/matchers_unminified_test.dart (revision 23554)
+++ pkg/unittest/test/matchers_unminified_test.dart (working copy)
@@ -105,7 +105,9 @@
var d = new SimpleIterable(0);
var e = new SimpleIterable(1);
shouldPass(d, isEmpty);
- shouldFail(e, isEmpty, "Expected: empty But: was SimpleIterable:[1].");
+ shouldFail(e, isEmpty, "Expected: empty "
+ "But: was SimpleIterable:[1]. "
+ "Actual: SimpleIterable:[1]");
});
test('contains', () {
@@ -113,7 +115,8 @@
shouldPass(d, contains(2));
shouldFail(d, contains(5),
"Expected: contains <5> "
- "But: was SimpleIterable:[3, 2, 1].");
+ "But: was SimpleIterable:[3, 2, 1]. "
+ "Actual: SimpleIterable:[3, 2, 1]");
});
});

Powered by Google App Engine
This is Rietveld 408576698