Skip to content

Commit

Permalink
chore: add missing "cbor" feature flag on test
Browse files Browse the repository at this point in the history
Found a failing test while looking through the request-response protocol crate. The function `dial_succeeds_after_adding_peers_address()` was just missing the `cbor` feature flag. Added the flag and the test passed.

Pull-Request: #5321.
  • Loading branch information
elton-cs committed May 9, 2024
1 parent 625743b commit 0e11c61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions protocols/request-response/tests/peer_address.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use std::iter;
use tracing_subscriber::EnvFilter;

#[async_std::test]
#[cfg(feature = "cbor")]
async fn dial_succeeds_after_adding_peers_address() {
let _ = tracing_subscriber::fmt()
.with_env_filter(EnvFilter::from_default_env())
Expand Down

0 comments on commit 0e11c61

Please sign in to comment.