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

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

Issue 12328104: Change new List(n) to return fixed length list. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge to head. Created 7 years, 10 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/socket_many_connections_test.dart
diff --git a/tests/standalone/io/socket_many_connections_test.dart b/tests/standalone/io/socket_many_connections_test.dart
index c313fe1ed785556dca715a18e501cacaad302769..49aa34d80a7e52fc42d60dec0c818ad43c07fb7e 100644
--- a/tests/standalone/io/socket_many_connections_test.dart
+++ b/tests/standalone/io/socket_many_connections_test.dart
@@ -17,7 +17,7 @@ class SocketManyConnectionsTest {
: _receivePort = new ReceivePort(),
_sendPort = null,
_connections = 0,
- _sockets = new List<Socket>.fixedLength(CONNECTIONS) {
+ _sockets = new List<Socket>(CONNECTIONS) {
_sendPort = spawnFunction(startTestServer);
initialize();
}

Powered by Google App Engine
This is Rietveld 408576698