Index: tests/standalone/io/file_input_stream_test.dart |
diff --git a/tests/standalone/io/file_input_stream_test.dart b/tests/standalone/io/file_input_stream_test.dart |
index 70834fddc9050192b57c5c42ffbe4f02b5b214b5..c46bd421d41ba2e256a92a940a283d0241b93b4e 100644 |
--- a/tests/standalone/io/file_input_stream_test.dart |
+++ b/tests/standalone/io/file_input_stream_test.dart |
@@ -97,7 +97,7 @@ void testUnreadyInputStream() { |
String fileName = getFilename("tests/standalone/io/readuntil_test.dat"); |
var expected = "Hello Dart\nwassup!\n".charCodes; |
InputStream x = (new File(fileName)).openInputStream(); |
- List<int> buffer = new List<int>(100); |
+ List<int> buffer = new List<int>.fixedLength(100); |
x.onData = () { |
Expect.fail("Input stream closed before opening called onData handler."); |