Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(626)

Unified Diff: test/codegen/lib/convert/chunked_conversion_utf82_test.dart

Issue 2254883002: roll analyzer (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: update Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « test/codegen/lib/convert/ascii_test.dart ('k') | test/codegen/lib/convert/chunked_conversion_utf83_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698