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

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

Issue 17904009: Hide parent function name in name of closurized function to user. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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_unminified_test.dart ('k') | runtime/vm/object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/test/pretty_print_test.dart
===================================================================
--- pkg/unittest/test/pretty_print_test.dart (revision 24503)
+++ pkg/unittest/test/pretty_print_test.dart (working copy)
@@ -12,7 +12,7 @@
expect(prettyPrint(true), equals('<true>'));
expect(prettyPrint(null), equals('<null>'));
expect(prettyPrint(() => 12),
- matches(r'<Closure(: \(dynamic\) => dynamic)?>'));
+ matches(r'<Closure(: \(\) => dynamic)?>'));
});
group('with a string', () {
« no previous file with comments | « pkg/unittest/test/matchers_unminified_test.dart ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698