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

Unified Diff: test/codegen/lib/convert/latin1_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 | « test/codegen/lib/convert/chunked_conversion_utf89_test.dart ('k') | tool/sdk_expected_errors.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/lib/convert/latin1_test.dart
diff --git a/test/codegen/lib/convert/latin1_test.dart b/test/codegen/lib/convert/latin1_test.dart
index 5c33c6a12c3a5974d599e0255c519220626a2a15..958a50ea382aac03ee9eb78ce0eeb5af2117c5f3 100644
--- a/test/codegen/lib/convert/latin1_test.dart
+++ b/test/codegen/lib/convert/latin1_test.dart
@@ -89,8 +89,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 | « test/codegen/lib/convert/chunked_conversion_utf89_test.dart ('k') | tool/sdk_expected_errors.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698