lint
This commit is contained in:
parent
6cf738261b
commit
5744b459ee
@ -238,9 +238,8 @@ pub fn json_rpc_response_weigher<K, R>(_key: &K, value: &JsonRpcResponseEnum<R>)
|
|||||||
mod tests {
|
mod tests {
|
||||||
use super::JsonRpcResponseEnum;
|
use super::JsonRpcResponseEnum;
|
||||||
use crate::response_cache::json_rpc_response_weigher;
|
use crate::response_cache::json_rpc_response_weigher;
|
||||||
use moka::future::{Cache, CacheBuilder};
|
|
||||||
use serde_json::value::RawValue;
|
use serde_json::value::RawValue;
|
||||||
use std::{sync::Arc, time::Duration};
|
use std::sync::Arc;
|
||||||
|
|
||||||
#[tokio::test(start_paused = true)]
|
#[tokio::test(start_paused = true)]
|
||||||
async fn test_json_rpc_query_weigher() {
|
async fn test_json_rpc_query_weigher() {
|
||||||
|
Loading…
Reference in New Issue
Block a user