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

Unified Diff: tests/corelib_strong/iterable_to_list_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/iterable_to_list_test.dart
diff --git a/tests/corelib_strong/iterable_to_list_test.dart b/tests/corelib_strong/iterable_to_list_test.dart
index 3ee443a0a7895a57d03ca1e4b8c23490cadbfd7b..6d7886138ece2b1674d90b4a68564472b7d2ead0 100644
--- a/tests/corelib_strong/iterable_to_list_test.dart
+++ b/tests/corelib_strong/iterable_to_list_test.dart
@@ -15,13 +15,9 @@ main() {
List<int> list2 = const <int>[4, 5];
List<String> list3 = <String>[];
Set<int> set1 = new Set<int>();
- set1..add(11)
- ..add(12)
- ..add(13);
+ set1..add(11)..add(12)..add(13);
Set<String> set2 = new Set<String>();
- set2..add("foo")
- ..add("bar")
- ..add("toto");
+ set2..add("foo")..add("bar")..add("toto");
Set set3 = new Set();
var listCopy = list1.toList();

Powered by Google App Engine
This is Rietveld 408576698