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

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

Issue 11312122: Change List constructors. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Reupload. Adapt code for List.fixedLength. Created 8 years 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/regress-1925.dart ('k') | utils/archive/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/tls_socket_test.dart
diff --git a/tests/standalone/io/tls_socket_test.dart b/tests/standalone/io/tls_socket_test.dart
index 061d93f8f5af2564acdc436cdbb93723b8d2d62a..047e10af641b2646f32e01a2955916de00fe7ec4 100644
--- a/tests/standalone/io/tls_socket_test.dart
+++ b/tests/standalone/io/tls_socket_test.dart
@@ -35,7 +35,7 @@ void main() {
tls.onData = useReadList;
}
useReadList = () {
- var buffer = new List(2000);
+ var buffer = new List.fixedLength(2000);
int len = tls.readList(buffer, 0, 2000);
var received = new String.fromCharCodes(buffer.getRange(0, len));
chunks.add(received);
« no previous file with comments | « tests/standalone/io/regress-1925.dart ('k') | utils/archive/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698