Skip to content

Commit e730269

Browse files
daniel-abramovsdroege
authored andcommitted
Feature-gate handshakes / communication test
1 parent 1dd92fc commit e730269

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/communication.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![cfg(feature = "handshake")]
2+
13
use async_std::net::{TcpListener, TcpStream};
24
use async_std::task;
35
use async_tungstenite::{accept_async, client_async, WebSocketStream};

tests/handshakes.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![cfg(feature = "handshake")]
2+
13
use async_std::net::{TcpListener, TcpStream};
24
use async_std::task;
35
use async_tungstenite::{accept_async, client_async};

0 commit comments

Comments
 (0)