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

Unified Diff: corelib/src/expect.dart

Issue 9365023: add string-equals to unittest, fix implementation in expect.dart (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: '' Created 8 years, 10 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 | « client/testing/unittest/shared.dart ('k') | 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 c7a202793cdd4a0d63fcabaf20a3d71870cad5d1..6428ca59c5add6c1f983e3e0850aa55a03e11bd5 100644
--- a/corelib/src/expect.dart
+++ b/corelib/src/expect.dart
@@ -177,7 +177,7 @@ class Expect {
}
String eSnippet = expected.substring(left, eLen - right);
String aSnippet = actual.substring(left, aLen - right);
- String diff = '\nDiff:\n...[ $eSnippet} ]...\n...[ $aSnippet ]...';
+ String diff = '\nDiff:\n...[ $eSnippet ]...\n...[ $aSnippet ]...';
_fail('$defaultMessage$diff');
}
« no previous file with comments | « client/testing/unittest/shared.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698