| Index: tests/standalone/src/io/FileInputStreamTest.dart
|
| diff --git a/tests/standalone/src/io/FileInputStreamTest.dart b/tests/standalone/src/io/FileInputStreamTest.dart
|
| index ff7af97656aa45a58e55d1aab22987bfe975cb58..567690915c10e44c748c654f7e955d670140d551 100644
|
| --- a/tests/standalone/src/io/FileInputStreamTest.dart
|
| +++ b/tests/standalone/src/io/FileInputStreamTest.dart
|
| @@ -65,8 +65,8 @@ void testStringInputStreamAsync(String name, int length) {
|
|
|
| void testChunkedInputStream() {
|
| // Force the test to timeout if it does not finish.
|
| - ReceivePort done = new ReceivePort.singleShot();
|
| - done.receive((message, replyTo) {});
|
| + ReceivePort done = new ReceivePort();
|
| + done.receive((message, replyTo) { done.close(); });
|
|
|
| String fileName = getFilename("tests/standalone/src/io/readuntil_test.dat");
|
| // File contains 19 bytes ("Hello Dart\nwassup!")
|
|
|