Skip to content

Commit

Permalink
Fix: do not compile irrelevant test when feature is not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
maugier committed Aug 12, 2024
1 parent 2944367 commit e598e0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/wss_fails_when_no_tls.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![cfg(not(any(feature = "native-tls", feature = "__rustls-tls")))]
#![cfg(all(feature = "handshake", not(any(feature = "native-tls", feature = "__rustls-tls"))))]

use tungstenite::{connect, error::UrlError, Error};

Expand Down

0 comments on commit e598e0d

Please sign in to comment.