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

Unified Diff: tests/corelib_strong/collection_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 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
Index: tests/corelib_strong/collection_test.dart
diff --git a/tests/corelib_strong/collection_test.dart b/tests/corelib_strong/collection_test.dart
index 1b5696006ee1aec9c7edddfe884483ba9a032fb7..54fbc8bed4eff8be002f8e2e6614c18a3bd9fea2 100644
--- a/tests/corelib_strong/collection_test.dart
+++ b/tests/corelib_strong/collection_test.dart
@@ -13,12 +13,13 @@ class CollectionTest {
}
void testFold(Iterable<int> iterable) {
- Expect.equals(28, iterable.fold/*<int>*/(0, (prev, element) => prev + element));
- Expect.equals(3024, iterable.fold/*<int>*/(1, (prev, element) => prev * element));
+ Expect.equals(
+ 28, iterable.fold/*<int>*/(0, (prev, element) => prev + element));
+ Expect.equals(
+ 3024, iterable.fold/*<int>*/(1, (prev, element) => prev * element));
}
}
-
main() {
final TEST_ELEMENTS = const [4, 2, 6, 7, 9];
// Const list.

Powered by Google App Engine
This is Rietveld 408576698