Index: tests/corelib/map_from_test.dart |
diff --git a/tests/corelib/map_from_test.dart b/tests/corelib/map_from_test.dart |
index 00d1a606fac37435e68edcf635e873b51eb75443..8c8a5bcb1b76ad54126fe40fee4daf718f91200e 100644 |
--- a/tests/corelib/map_from_test.dart |
+++ b/tests/corelib/map_from_test.dart |
@@ -20,9 +20,9 @@ testWithConstMap() { |
Expect.equals(2, otherMap.values.length); |
var count = (map) { |
- int count = 0; |
- map.forEach((a, b) { count += b; }); |
- return count; |
+ int cnt = 0; |
+ map.forEach((a, b) { cnt += b; }); |
+ return cnt; |
}; |
Expect.equals(42 + 43, count(map)); |