From 6a0d01d7fe0891b595e4c0f033f5282f5e33b0eb Mon Sep 17 00:00:00 2001 From: Ingvar Stepanyan Date: Sun, 1 Sep 2024 16:25:45 +0100 Subject: [PATCH] Allow simulators field to be unused --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index a193dab..35ca87c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -421,7 +421,7 @@ mod test_utils { } pub(crate) struct PassthroughTestEnv { - simulators: Child, + _simulators: Child, server_abort: AbortHandle, api_path: String, } @@ -457,7 +457,7 @@ mod test_utils { let server_abort = tokio::spawn(bound_server.start()).abort_handle(); Ok(Self { - simulators, + _simulators: simulators, server_abort, api_path: format!("http://{listen_addr}/api/v1/"), })