| Index: tests/lib_strong/convert/chunked_conversion_utf88_test.dart
|
| diff --git a/tests/lib_strong/convert/chunked_conversion_utf88_test.dart b/tests/lib_strong/convert/chunked_conversion_utf88_test.dart
|
| index c9a968cbcf52790a4f5cc2956b784e346d5fdc91..a6a4af53ef4454c85a3cecb48f5a173171bcfc87 100644
|
| --- a/tests/lib_strong/convert/chunked_conversion_utf88_test.dart
|
| +++ b/tests/lib_strong/convert/chunked_conversion_utf88_test.dart
|
| @@ -3,6 +3,7 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| library utf8_test;
|
| +
|
| import "package:expect/expect.dart";
|
| import 'dart:convert';
|
|
|
| @@ -83,7 +84,6 @@ List<int> encode7(String str) {
|
| return bytes;
|
| }
|
|
|
| -
|
| int _nextPowerOf2(v) {
|
| assert(v > 0);
|
| v--;
|
| @@ -193,7 +193,7 @@ main() {
|
| codeUnits.length = i + 3;
|
| codeUnits[i] = LEADING_SURROGATE;
|
| codeUnits[i + 1] = TRAILING_SURROGATE;
|
| - codeUnits[i + 2] = CHAR_A; // Add trailing 'a'.
|
| + codeUnits[i + 2] = CHAR_A; // Add trailing 'a'.
|
| str = new String.fromCharCodes(codeUnits);
|
| bytes = new List.filled(i + 5, CHAR_A);
|
| bytes[i] = UTF8_ENCODING[0];
|
| @@ -206,7 +206,7 @@ main() {
|
|
|
| codeUnits[i] = TRAILING_SURROGATE;
|
| codeUnits[i + 1] = TRAILING_SURROGATE;
|
| - codeUnits[i + 2] = CHAR_A; // Add trailing 'a'.
|
| + codeUnits[i + 2] = CHAR_A; // Add trailing 'a'.
|
| str = new String.fromCharCodes(codeUnits);
|
| bytes = new List.filled(i + 7, CHAR_A);
|
| bytes[i] = UTF8_TRAILING[0];
|
| @@ -219,7 +219,7 @@ main() {
|
|
|
| codeUnits[i] = LEADING_SURROGATE;
|
| codeUnits[i + 1] = LEADING_SURROGATE;
|
| - codeUnits[i + 2] = CHAR_A; // Add trailing 'a'.
|
| + codeUnits[i + 2] = CHAR_A; // Add trailing 'a'.
|
| str = new String.fromCharCodes(codeUnits);
|
| bytes = new List.filled(i + 7, CHAR_A);
|
| bytes[i] = UTF8_LEADING[0];
|
| @@ -232,7 +232,7 @@ main() {
|
|
|
| codeUnits[i] = TRAILING_SURROGATE;
|
| codeUnits[i + 1] = LEADING_SURROGATE;
|
| - codeUnits[i + 2] = CHAR_A; // Add trailing 'a'.
|
| + codeUnits[i + 2] = CHAR_A; // Add trailing 'a'.
|
| str = new String.fromCharCodes(codeUnits);
|
| bytes = new List.filled(i + 7, CHAR_A);
|
| bytes[i] = UTF8_TRAILING[0];
|
|
|