Feature-gate handshakes / communication test

pull/114/head
Daniel Abramov 2 years ago committed by Sebastian Dröge
parent 1dd92fc13a
commit e730269144
  1. 2
      tests/communication.rs
  2. 2
      tests/handshakes.rs

@ -1,3 +1,5 @@
#![cfg(feature = "handshake")]
use async_std::net::{TcpListener, TcpStream}; use async_std::net::{TcpListener, TcpStream};
use async_std::task; use async_std::task;
use async_tungstenite::{accept_async, client_async, WebSocketStream}; use async_tungstenite::{accept_async, client_async, WebSocketStream};

@ -1,3 +1,5 @@
#![cfg(feature = "handshake")]
use async_std::net::{TcpListener, TcpStream}; use async_std::net::{TcpListener, TcpStream};
use async_std::task; use async_std::task;
use async_tungstenite::{accept_async, client_async}; use async_tungstenite::{accept_async, client_async};

Loading…
Cancel
Save