pull/146/head
Chip Senkbeil 2 years ago
parent fa4a69a931
commit 2b349ce116
No known key found for this signature in database
GPG Key ID: 35EF1F8EC72A4131

@ -95,8 +95,6 @@ mod tests {
};
async fn start_and_run_server(tx: oneshot::Sender<String>) -> io::Result<()> {
use tokio::io::{AsyncReadExt, AsyncWriteExt};
// Generate a pipe address (not just a name)
let addr = format!(r"\\.\pipe\test_pipe_{}", rand::random::<usize>());
@ -113,6 +111,8 @@ mod tests {
}
async fn run_server(pipe: NamedPipeServer) -> io::Result<()> {
use tokio::io::{AsyncReadExt, AsyncWriteExt};
// Get the connection
let mut conn = {
pipe.connect().await?;

Loading…
Cancel
Save