| Index: test/dart_codegen/expect/convert/latin1.dart
|
| diff --git a/test/dart_codegen/expect/convert/latin1.dart b/test/dart_codegen/expect/convert/latin1.dart
|
| index 61cc82fecb58216fa5d13e10b52877f19c25bf6f..4f4cf27159648c8c622b7d33ed18d0964e7af4aa 100644
|
| --- a/test/dart_codegen/expect/convert/latin1.dart
|
| +++ b/test/dart_codegen/expect/convert/latin1.dart
|
| @@ -51,9 +51,7 @@ _sink.add(new String.fromCharCodes(source, start, end));
|
| }
|
| void addSlice(List<int> source, int start, int end, bool isLast) {
|
| RangeError.checkValidRange(start, end, source.length);
|
| - for (int i = start;
|
| - i < end;
|
| - i++) {
|
| + for (int i = start; i < end; i++) {
|
| int char = source[i];
|
| if (char > _LATIN1_MASK || char < 0) {
|
| throw new FormatException("Source contains non-Latin-1 characters.");
|
| @@ -70,9 +68,7 @@ close();
|
| class _Latin1AllowInvalidDecoderSink extends _Latin1DecoderSink {_Latin1AllowInvalidDecoderSink(StringConversionSink sink) : super(sink);
|
| void addSlice(List<int> source, int start, int end, bool isLast) {
|
| RangeError.checkValidRange(start, end, source.length);
|
| - for (int i = start;
|
| - i < end;
|
| - i++) {
|
| + for (int i = start; i < end; i++) {
|
| int char = source[i];
|
| if (char > _LATIN1_MASK || char < 0) {
|
| if (i > start) _addSliceToSink(source, start, i, false);
|
|
|