lint
This commit is contained in:
parent
a440d51377
commit
b5ae11b7f7
@ -269,7 +269,7 @@ mod tests {
|
|||||||
};
|
};
|
||||||
use tokio::{
|
use tokio::{
|
||||||
sync::broadcast::error::SendError,
|
sync::broadcast::error::SendError,
|
||||||
task::{yield_now, JoinHandle},
|
task::JoinHandle,
|
||||||
time::{sleep, Instant},
|
time::{sleep, Instant},
|
||||||
};
|
};
|
||||||
use web3_proxy::{
|
use web3_proxy::{
|
||||||
@ -279,8 +279,8 @@ mod tests {
|
|||||||
|
|
||||||
// TODO: put it in a thread?
|
// TODO: put it in a thread?
|
||||||
struct TestApp {
|
struct TestApp {
|
||||||
|
_anvil: AnvilInstance,
|
||||||
handle: Mutex<Option<JoinHandle<anyhow::Result<()>>>>,
|
handle: Mutex<Option<JoinHandle<anyhow::Result<()>>>>,
|
||||||
anvil: AnvilInstance,
|
|
||||||
anvil_provider: Provider<Http>,
|
anvil_provider: Provider<Http>,
|
||||||
proxy_provider: Provider<Http>,
|
proxy_provider: Provider<Http>,
|
||||||
shutdown_sender: broadcast::Sender<()>,
|
shutdown_sender: broadcast::Sender<()>,
|
||||||
@ -366,10 +366,10 @@ mod tests {
|
|||||||
|
|
||||||
Self {
|
Self {
|
||||||
handle: Mutex::new(Some(handle)),
|
handle: Mutex::new(Some(handle)),
|
||||||
anvil,
|
|
||||||
anvil_provider,
|
anvil_provider,
|
||||||
proxy_provider,
|
proxy_provider,
|
||||||
shutdown_sender,
|
shutdown_sender,
|
||||||
|
_anvil: anvil,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user