Skip to content

Commit 7277836

Browse files
committed
fix clappy
1 parent 179811b commit 7277836

File tree

1 file changed

+5
-1
lines changed
  • crates/solver-demo/src/operations/init

1 file changed

+5
-1
lines changed

crates/solver-demo/src/operations/init/mod.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ mod tests {
836836
assert_eq!(map.len(), 18);
837837
assert_eq!(
838838
map.get("PLACEHOLDER_INPUT_SETTLER_1"),
839-
Some(&format!("0x{:040x}", PLACEHOLDER_START_COUNTER))
839+
Some(&format!("0x{PLACEHOLDER_START_COUNTER:040x}"))
840840
);
841841
assert_eq!(
842842
map.get("PLACEHOLDER_OUTPUT_SETTLER_1"),
@@ -1010,6 +1010,7 @@ mod tests {
10101010
}
10111011

10121012
#[tokio::test]
1013+
#[allow(clippy::await_holding_lock)]
10131014
async fn generate_new_config_creates_file_and_supports_force_overwrite() {
10141015
let _lock = acquire_lock();
10151016
let temp = TempDir::new().expect("temp dir");
@@ -1040,6 +1041,7 @@ mod tests {
10401041
}
10411042

10421043
#[tokio::test]
1044+
#[allow(clippy::await_holding_lock)]
10431045
async fn load_config_persists_session_with_chains_and_contracts() {
10441046
let _lock = acquire_lock();
10451047
let temp = TempDir::new().expect("temp dir");
@@ -1078,6 +1080,7 @@ mod tests {
10781080
}
10791081

10801082
#[tokio::test]
1083+
#[allow(clippy::await_holding_lock)]
10811084
async fn load_config_returns_error_for_invalid_token_address() {
10821085
let _lock = acquire_lock();
10831086
let temp = TempDir::new().expect("temp dir");
@@ -1175,6 +1178,7 @@ mod tests {
11751178
}
11761179

11771180
#[tokio::test]
1181+
#[allow(clippy::await_holding_lock)]
11781182
async fn load_config_from_storage_file_backend_materializes_and_loads_session() {
11791183
use solver_service::{config_merge::merge_to_operator_config, seeds::SeedPreset};
11801184
use solver_storage::StoreConfig;

0 commit comments

Comments
 (0)