| Index: tests/standalone/src/StreamPipeTest.dart
|
| diff --git a/tests/standalone/src/StreamPipeTest.dart b/tests/standalone/src/StreamPipeTest.dart
|
| index f32b2fb65a11b3514c229e9e77a53519d3363655..6c85ab10143ba86a1d47cd2ab9c19267223d9622 100644
|
| --- a/tests/standalone/src/StreamPipeTest.dart
|
| +++ b/tests/standalone/src/StreamPipeTest.dart
|
| @@ -7,7 +7,6 @@
|
| // VMOptions=--short_socket_write
|
| // VMOptions=--short_socket_read --short_socket_write
|
|
|
| -#library("StreamPipeTest");
|
| #import("dart:io");
|
| #import("dart:isolate");
|
| #source("TestingServer.dart");
|
| @@ -152,7 +151,7 @@ class PipeServerGame {
|
| // The testing server will simply pipe each connecting sockets input
|
| // stream to its output stream.
|
| class PipeServer extends TestingServer {
|
| - void connectionHandler(Socket connection) {
|
| + void onConnection(Socket connection) {
|
| connection.onError = () { Expect.fail("Socket error"); };
|
| connection.inputStream.pipe(connection.outputStream);
|
| }
|
|
|