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

Unified Diff: tests/corelib/collection_from_test.dart

Issue 11363206: More function literal changes in tests. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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 | « runtime/vm/debugger_api_impl_test.cc ('k') | tests/isolate/spawn_function_custom_class_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/collection_from_test.dart
===================================================================
--- tests/corelib/collection_from_test.dart (revision 14804)
+++ tests/corelib/collection_from_test.dart (working copy)
@@ -24,8 +24,8 @@
int initialSum = 0;
int otherSum = 0;
- initial.forEach(void f(e) { initialSum += e; });
- other.forEach(void f(e) { otherSum += e; });
+ initial.forEach((e) { initialSum += e; });
+ other.forEach((e) { otherSum += e; });
Expect.equals(4 + 2 + 1, otherSum);
Expect.equals(otherSum, initialSum);
}
« no previous file with comments | « runtime/vm/debugger_api_impl_test.cc ('k') | tests/isolate/spawn_function_custom_class_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698