Index: test/codegen/lib/convert/chunked_conversion_utf82_test.dart |
diff --git a/test/codegen/lib/convert/chunked_conversion_utf82_test.dart b/test/codegen/lib/convert/chunked_conversion_utf82_test.dart |
index 51cfcddc658c7253ca3c8170f2f1eef58567c186..7ce8f782a44af1b10d81a1533d6b691e97cecabf 100644 |
--- a/test/codegen/lib/convert/chunked_conversion_utf82_test.dart |
+++ b/test/codegen/lib/convert/chunked_conversion_utf82_test.dart |
@@ -8,8 +8,7 @@ import 'dart:convert'; |
String decode(List<int> bytes, int chunkSize) { |
StringBuffer buffer = new StringBuffer(); |
- ChunkedConversionSink stringSink = |
- new StringConversionSink.fromStringSink(buffer); |
+ var stringSink = new StringConversionSink.fromStringSink(buffer); |
var byteSink = new Utf8Decoder().startChunkedConversion(stringSink); |
int i = 0; |
while (i < bytes.length) { |
@@ -28,8 +27,7 @@ String decode(List<int> bytes, int chunkSize) { |
String decodeAllowMalformed(List<int> bytes, int chunkSize) { |
StringBuffer buffer = new StringBuffer(); |
- ChunkedConversionSink stringSink = |
- new StringConversionSink.fromStringSink(buffer); |
+ var stringSink = new StringConversionSink.fromStringSink(buffer); |
var decoder = new Utf8Decoder(allowMalformed: true); |
var byteSink = decoder.startChunkedConversion(stringSink); |
int i = 0; |