Skip to content

Commit 69e7599

Browse files
committed
Update close_local_server.dart
1 parent 8174b83 commit 69e7599

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkgs/web_socket_conformance_tests/lib/src/close_local_server.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ void hybridMain(StreamChannel<Object?> channel) async {
2020
webSocket.listen((event) {
2121
print('Got event: $event');
2222
// channel.sink.add(event);
23-
}, onError: (e) {
23+
}, onError: (Object e) {
2424
print('onError($e)');
2525
}, onDone: () {
2626
print('Server got ${webSocket.closeCode} ${webSocket.closeReason}');

0 commit comments

Comments
 (0)