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

Unified Diff: tests/standalone/io/secure_socket_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/secure_socket_test.dart
diff --git a/tests/standalone/io/secure_socket_test.dart b/tests/standalone/io/secure_socket_test.dart
index b520c22fa1f2c947d05b65fb3c08a4cf0568aa99..e1fe2a8e332beceaebebb1001f2fc507af9245fb 100644
--- a/tests/standalone/io/secure_socket_test.dart
+++ b/tests/standalone/io/secure_socket_test.dart
@@ -45,7 +45,7 @@ void main() {
secure.onData = useReadList;
}
useReadList = () {
- var buffer = new List(2000);
+ var buffer = new List.fixedLength(2000);
int len = secure.readList(buffer, 0, 2000);
var received = new String.fromCharCodes(buffer.getRange(0, len));
chunks.add(received);

Powered by Google App Engine
This is Rietveld 408576698