| Index: tests/corelib/collection_to_string_test.dart
|
| diff --git a/tests/corelib/collection_to_string_test.dart b/tests/corelib/collection_to_string_test.dart
|
| index 2f3d4bd400229c08d7b415d0de84e2053c90d711..97f25bc06d97d745a155bb07e8ce6bca8df5a391 100644
|
| --- a/tests/corelib/collection_to_string_test.dart
|
| +++ b/tests/corelib/collection_to_string_test.dart
|
| @@ -241,8 +241,8 @@ populateRandomCollection(int size, bool exact,
|
| if (startIndex - start > MAX_LENGTH - 6) { // Limit - ", ...)".length.
|
| String prefix = stringRep.toString().substring(0, startIndex);
|
| stringRep.clear();
|
| - stringRep.add(prefix);
|
| - stringRep.add(", ...");
|
| + stringRep.write(prefix);
|
| + stringRep.write(", ...");
|
| }
|
| }
|
| } else if (stringRep.length - start > MAX_LENGTH - 1) { // 80 - ")".length.
|
|
|