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

Unified Diff: test/codegen/lib/convert/ascii_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
« no previous file with comments | « pubspec.yaml ('k') | test/codegen/lib/convert/chunked_conversion_utf82_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/lib/convert/ascii_test.dart
diff --git a/test/codegen/lib/convert/ascii_test.dart b/test/codegen/lib/convert/ascii_test.dart
index c8d1b66522ffba1405d1935d98a338cd56c93917..4d5dfddf7eeb7749d5cbe6d6d29bc64080c99884 100644
--- a/test/codegen/lib/convert/ascii_test.dart
+++ b/test/codegen/lib/convert/ascii_test.dart
@@ -91,8 +91,7 @@ void testDirectConversions() {
List<int> encode(String str, int chunkSize,
Converter<String, List<int>> converter) {
List<int> bytes = <int>[];
- ChunkedConversionSink byteSink =
- new ByteConversionSink.withCallback(bytes.addAll);
+ var byteSink = new ByteConversionSink.withCallback(bytes.addAll);
var stringConversionSink = converter.startChunkedConversion(byteSink);
for (int i = 0; i < str.length; i += chunkSize) {
if (i + chunkSize <= str.length) {
« no previous file with comments | « pubspec.yaml ('k') | test/codegen/lib/convert/chunked_conversion_utf82_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698