Skip to content

Commit

Permalink
test: Skip test if no socket implementation
Browse files Browse the repository at this point in the history
The patch is from Reinhard Tartler (https://github.com/siretart)

Signed-off-by: Gris Ge <fge@redhat.com>
  • Loading branch information
cathay4t committed Jan 10, 2024
1 parent b8c3e74 commit 6d2c444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resolver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ impl Resolver {
}
}

#[cfg(test)]
#[cfg(all(test, tokio_socket))]
mod test {
use super::*;
use crate::new_connection;
Expand Down

0 comments on commit 6d2c444

Please sign in to comment.