Skip to content

Commit

Permalink
fix missing point
Browse files Browse the repository at this point in the history
  • Loading branch information
sunmy2019 committed Feb 15, 2024
1 parent 81b63d1 commit ab595ff
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,17 @@ async fn tcp() -> Result<()> {
test("tests/for_tcp/tcp_transport.toml", Type::Tcp).await?;
// FIXME: Self-signed certificate on Mac requires mannual interference. Disable CI for now
#[cfg(not(target_os = "macos"))]
#[cfg(feature="tls")]
#[cfg(any(feature = "native-tls", feature = "rustls"))]
test("tests/for_tcp/tls_transport.toml", Type::Tcp).await?;

#[cfg(feature="noise")]
#[cfg(feature = "noise")]
test("tests/for_tcp/noise_transport.toml", Type::Tcp).await?;

#[cfg(feature="websocket")]
#[cfg(feature = "websocket")]
test("tests/for_tcp/websocket_transport.toml", Type::Tcp).await?;

#[cfg(not(target_os = "macos"))]
#[cfg(feature="websocket")]
#[cfg(feature = "websocket")]
test("tests/for_tcp/websocket_tls_transport.toml", Type::Tcp).await?;

Ok(())
Expand All @@ -94,17 +94,17 @@ async fn udp() -> Result<()> {
test("tests/for_udp/tcp_transport.toml", Type::Udp).await?;
// See above
#[cfg(not(target_os = "macos"))]
#[cfg(feature="tls")]
#[cfg(any(feature = "native-tls", feature = "rustls"))]
test("tests/for_udp/tls_transport.toml", Type::Udp).await?;

#[cfg(feature="noise")]
#[cfg(feature = "noise")]
test("tests/for_udp/noise_transport.toml", Type::Udp).await?;

#[cfg(feature="websocket")]
#[cfg(feature = "websocket")]
test("tests/for_udp/websocket_transport.toml", Type::Udp).await?;

#[cfg(not(target_os = "macos"))]
#[cfg(feature="websocket")]
#[cfg(feature = "websocket")]
test("tests/for_udp/websocket_tls_transport.toml", Type::Udp).await?;

Ok(())
Expand Down

0 comments on commit ab595ff

Please sign in to comment.