Index: tests/corelib/json_map_test.dart |
diff --git a/tests/corelib/json_map_test.dart b/tests/corelib/json_map_test.dart |
index e34e9744a4d40115efe048f7c72511a7863fe0f0..691c1d74b7e3832a89efb6c454b3add4fd8d69f9 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); |
- iterator.moveNext(); |
+ while (iterator.moveNext()); |
} |
void testKeys(Map map, Function f) => testIterate(map, map.keys, f); |