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

Unified Diff: tests/corelib_strong/iterable_to_set_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_set_test.dart
diff --git a/tests/corelib_strong/iterable_to_set_test.dart b/tests/corelib_strong/iterable_to_set_test.dart
index ee1bcfda9a16dfb32f26327a4aaf543ae5464fe6..628ddb89b1ee0cd0d070c58ba9474232f4be3438 100644
--- a/tests/corelib_strong/iterable_to_set_test.dart
+++ b/tests/corelib_strong/iterable_to_set_test.dart
@@ -9,13 +9,9 @@ main() {
List<int> list2 = const <int>[4, 4];
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 setCopy = list1.toSet();

Powered by Google App Engine
This is Rietveld 408576698