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

Unified Diff: tests/standalone/io/http_read_test.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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: tests/standalone/io/http_read_test.dart
diff --git a/tests/standalone/io/http_read_test.dart b/tests/standalone/io/http_read_test.dart
index 3a62e6a47b1cbcc22a689d5199350254d44d4623..bb8a87a4f39c90fa7da2948e90fedaf7fad183ea 100644
--- a/tests/standalone/io/http_read_test.dart
+++ b/tests/standalone/io/http_read_test.dart
@@ -182,7 +182,7 @@ void testReadInto(bool chunkedEncoding) {
InputStream stream = response.inputStream;
List<int> body = new List<int>();
stream.onData = () {
- List tmp = new List(3);
+ List tmp = new List.fixedLength(3);
int bytes = stream.readInto(tmp);
body.addAll(tmp.getRange(0, bytes));
};
« no previous file with comments | « tests/standalone/io/http_parser_test.dart ('k') | tests/standalone/io/http_server_early_client_close_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698