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

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

Issue 12221157: Our nice new mismatched type error messages are garbled by minification. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | « pkg/unittest/test/matchers_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/test/test_utils.dart
===================================================================
--- pkg/unittest/test/test_utils.dart (revision 18358)
+++ pkg/unittest/test/test_utils.dart (working copy)
@@ -32,7 +32,7 @@
if (expected is String) {
expect(errorString, equalsIgnoringWhitespace(expected));
} else {
- expect(errorString, expected);
+ expect(errorString.replaceAll('\n',''), expected);
}
}
« no previous file with comments | « pkg/unittest/test/matchers_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698