Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brianquinlan committed Apr 4, 2024
1 parent c7f4c43 commit a005af8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions pkgs/web_socket/lib/src/io_web_socket.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@ class IOWebSocket implements WebSocket {
}

// Create an `IOWebSocket` from an existing `dart:io` `WebSocket`.
factory IOWebSocket.fromWebSocket(io.WebSocket webSocket) {
return IOWebSocket._(webSocket);
}
factory IOWebSocket.fromWebSocket(io.WebSocket webSocket) =>
IOWebSocket._(webSocket);

IOWebSocket._(this._webSocket) {
_webSocket.listen(
Expand Down
1 change: 0 additions & 1 deletion pkgs/web_socket/test/io_web_socket_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import 'dart:io' as io;
import 'package:test/test.dart';
import 'package:web_socket/io_web_socket.dart';
import 'package:web_socket/web_socket.dart';
import 'package:web_socket_conformance_tests/web_socket_conformance_tests.dart';

void main() {
group('fromWebSocket', () {
Expand Down

0 comments on commit a005af8

Please sign in to comment.