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

Unified Diff: pkg/unittest/test/matchers_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_minified_test.dart ('k') | pkg/unittest/test/matchers_unminified_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/test/matchers_test.dart
===================================================================
--- pkg/unittest/test/matchers_test.dart (revision 24503)
+++ pkg/unittest/test/matchers_test.dart (working copy)
@@ -65,7 +65,7 @@
shouldFail(doesNotThrow, throws,
matches(
r"Expected: throws"
- r" Actual: <Closure(: \(dynamic\) => dynamic "
+ r" Actual: <Closure(: \(\) => dynamic "
r"from Function 'doesNotThrow': static\.)?>"
r" Which: did not throw"));
shouldPass(doesThrow, throws);
@@ -80,7 +80,7 @@
shouldFail(doesThrow, throwsA(equals('Y')),
matches(
r"Expected: throws 'Y'"
- r" Actual: <Closure(: \(dynamic\) => dynamic "
+ r" Actual: <Closure(: \(\) => dynamic "
r"from Function 'doesThrow': static\.)?>"
r" Which: threw 'X'"));
});
@@ -90,7 +90,7 @@
shouldFail(doesThrow, returnsNormally,
matches(
r"Expected: return normally"
- r" Actual: <Closure(: \(dynamic\) => dynamic "
+ r" Actual: <Closure(: \(\) => dynamic "
r"from Function 'doesThrow': static\.)?>"
r" Which: threw 'X'"));
});
« no previous file with comments | « pkg/unittest/test/matchers_minified_test.dart ('k') | pkg/unittest/test/matchers_unminified_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698