Skip to content

Commit

Permalink
correct the module and exports
Browse files Browse the repository at this point in the history
  • Loading branch information
rgbkrk committed May 31, 2024
1 parent 52da39b commit 51d1168
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
18 changes: 10 additions & 8 deletions tests/req_rep.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
#[cfg(test)]
mod test {
mod helpers;
mod helpers;

use zeromq::__async_rt as async_rt;
use zeromq::prelude::*;

use zeromq::__async_rt as async_rt;
use zeromq::prelude::*;
use futures_util::StreamExt;
use std::error::Error;
use std::time::Duration;

use futures_util::StreamExt;
use std::error::Error;
use std::time::Duration;
#[cfg(test)]
mod test {

use super::*;
#[async_rt::test]
async fn test_req_rep_sockets() -> Result<(), Box<dyn Error>> {
pretty_env_logger::try_init().ok();
Expand Down
4 changes: 3 additions & 1 deletion tests/req_router_dealer_rep.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
mod helpers;

#[cfg(test)]
mod test {
mod helpers;

use super::helpers;
use zeromq::__async_rt as async_rt;
use zeromq::prelude::*;

Expand Down

0 comments on commit 51d1168

Please sign in to comment.