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

Unified Diff: tests/corelib/json_map_test.dart

Issue 1064053007: Revert "Change ListIterator to only check for concurrent modification at each iteration" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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 | « tests/corelib/iterable_reduce_test.dart ('k') | tests/corelib/list_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/json_map_test.dart
diff --git a/tests/corelib/json_map_test.dart b/tests/corelib/json_map_test.dart
index 691c1d74b7e3832a89efb6c454b3add4fd8d69f9..e34e9744a4d40115efe048f7c72511a7863fe0f0 100644
--- a/tests/corelib/json_map_test.dart
+++ b/tests/corelib/json_map_test.dart
@@ -162,7 +162,7 @@ void testConcurrentModifications() {
void testIterate(Map map, Iterable iterable, Function f) {
Iterator iterator = iterable.iterator;
f(map);
- while (iterator.moveNext());
+ iterator.moveNext();
}
void testKeys(Map map, Function f) => testIterate(map, map.keys, f);
« no previous file with comments | « tests/corelib/iterable_reduce_test.dart ('k') | tests/corelib/list_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698