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

Unified Diff: tests/standalone/io/list_input_stream_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/list_input_stream_test.dart
diff --git a/tests/standalone/io/list_input_stream_test.dart b/tests/standalone/io/list_input_stream_test.dart
index 6826f1b705f9b77562f76db2e281ff39b83218b4..cebf50d9f9d4448ff169f93cef8cdcb10f558946 100644
--- a/tests/standalone/io/list_input_stream_test.dart
+++ b/tests/standalone/io/list_input_stream_test.dart
@@ -78,7 +78,7 @@ void testListInputStream2() {
ReceivePort donePort = new ReceivePort();
void onData() {
- List<int> x = new List<int>(2);
+ List<int> x = new List<int>.fixedLength(2);
var bytesRead = stream.readInto(x);
Expect.equals(2, bytesRead);
Expect.equals(data[count++], x[0]);
« no previous file with comments | « tests/standalone/io/https_client_certificate_test.dart ('k') | tests/standalone/io/list_output_stream_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698