Index: tests/corelib/iterable_take_while_test.dart |
diff --git a/tests/corelib/iterable_take_while_test.dart b/tests/corelib/iterable_take_while_test.dart |
index 3fb615ea63af8ca3bbc6a3cb7fa7c194b48b61b3..877f749be2861a9227baa76955f19628c14860ec 100644 |
--- a/tests/corelib/iterable_take_while_test.dart |
+++ b/tests/corelib/iterable_take_while_test.dart |
@@ -9,9 +9,7 @@ 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 set2 = new Set(); |
Iterable<int> takeWhileFalse = list1.takeWhile((x) => false); |