Index: tests/corelib_strong/collection_from_test.dart |
diff --git a/tests/corelib_strong/collection_from_test.dart b/tests/corelib_strong/collection_from_test.dart |
index 2766887cc84cd1d81734f83d34d7680095782f81..057d4e259ba7fbbeffc8dc33f9387168c199cfa2 100644 |
--- a/tests/corelib_strong/collection_from_test.dart |
+++ b/tests/corelib_strong/collection_from_test.dart |
@@ -3,6 +3,7 @@ |
// BSD-style license that can be found in the LICENSE file. |
library collection.from.test; |
+ |
import "package:expect/expect.dart"; |
import 'dart:collection' show Queue; |
@@ -20,7 +21,6 @@ class CollectionFromTest { |
check(set, new Set.from(set)); |
} |
- |
static check(Iterable initial, Iterable other) { |
Expect.equals(3, initial.length); |
Expect.equals(initial.length, other.length); |
@@ -28,8 +28,12 @@ class CollectionFromTest { |
int initialSum = 0; |
int otherSum = 0; |
- initial.forEach((e) { initialSum += e; }); |
- other.forEach((e) { otherSum += e; }); |
+ initial.forEach((e) { |
+ initialSum += e; |
+ }); |
+ other.forEach((e) { |
+ otherSum += e; |
+ }); |
Expect.equals(4 + 2 + 1, otherSum); |
Expect.equals(otherSum, initialSum); |
} |