Skip to content

Commit

Permalink
fix: tests add aead-cipher feature gate
Browse files Browse the repository at this point in the history
  • Loading branch information
zonyitoo committed Nov 2, 2024
1 parent f8e6941 commit 85b6e47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/shadowsocks/tests/tcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ async fn tcp_tunnel_example(
Ok(())
}

#[cfg(feature = "aead-cipher")]
#[tokio::test]
async fn tcp_tunnel_aead() {
let _ = env_logger::try_init();
Expand Down
1 change: 1 addition & 0 deletions crates/shadowsocks/tests/udp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ async fn udp_tunnel_echo(
Ok(())
}

#[cfg(feature = "aead-cipher")]
#[tokio::test]
async fn udp_tunnel_aead() {
let _ = env_logger::try_init();
Expand Down

0 comments on commit 85b6e47

Please sign in to comment.