diff --git a/tests/fifo_sync_tests.rs b/tests/fifo_sync_tests.rs index c22a25a..f0bdb5a 100644 --- a/tests/fifo_sync_tests.rs +++ b/tests/fifo_sync_tests.rs @@ -31,11 +31,10 @@ where let socket_dir = tempfile::tempdir()?; let socket_path = socket_dir.path().join("test_client.socket"); assert!(!socket_path.exists()); - let server_path = socket_path.clone(); let mut process_wrapper = std::panic::AssertUnwindSafe(process); - let handle = Server::run(&server_path, communication); + let handle = Server::run(&socket_path, communication); let mut client = ssip_client::fifo::Builder::new() - .path(&server_path) + .path(&socket_path) .build()?; client .set_client_name(ClientName::new("test", "test"))?