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

Unified Diff: tests/standalone/io/http_content_length_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_connection_header_test.dart ('k') | tests/standalone/io/http_date_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/http_content_length_test.dart
diff --git a/tests/standalone/io/http_content_length_test.dart b/tests/standalone/io/http_content_length_test.dart
index 8cfe93441a4b1cd7d1a727c89dcebf4786d08557..62902181737a62d972e0c5dedb429937e8c00d46 100644
--- a/tests/standalone/io/http_content_length_test.dart
+++ b/tests/standalone/io/http_content_length_test.dart
@@ -184,7 +184,7 @@ void testHttp10() {
Socket socket = new Socket("127.0.0.1", server.port);
socket.onConnect = () {
- List<int> buffer = new List<int>(1024);
+ List<int> buffer = new List<int>.fixedLength(1024);
socket.outputStream.writeString("GET / HTTP/1.0\r\n\r\n");
socket.onData = () => socket.readList(buffer, 0, buffer.length);
socket.onClosed = () {
« no previous file with comments | « tests/standalone/io/http_connection_header_test.dart ('k') | tests/standalone/io/http_date_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698