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

Unified Diff: tests/standalone/io/http_head_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
« no previous file with comments | « tests/standalone/io/http_date_test.dart ('k') | tests/standalone/io/http_headers_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/http_head_test.dart
diff --git a/tests/standalone/io/http_head_test.dart b/tests/standalone/io/http_head_test.dart
index a1f91ec8d495623f55946fd55336d84abab5413b..7880e2d3278ca7fb5a7a0f6113809df2669b9b30 100644
--- a/tests/standalone/io/http_head_test.dart
+++ b/tests/standalone/io/http_head_test.dart
@@ -18,7 +18,7 @@ void testHEAD(int totalConnections) {
(request) => request.path == "/test200",
(HttpRequest request, HttpResponse response) {
response.contentLength = 200;
- List<int> data = new List<int>(200);
+ List<int> data = new List<int>.fixedLength(200);
response.outputStream.write(data);
response.outputStream.close();
});
« no previous file with comments | « tests/standalone/io/http_date_test.dart ('k') | tests/standalone/io/http_headers_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698