diff --git a/crates/dojo-world/src/metadata_test.rs b/crates/dojo-world/src/metadata_test.rs index 501ad185d5..dc3872d2ef 100644 --- a/crates/dojo-world/src/metadata_test.rs +++ b/crates/dojo-world/src/metadata_test.rs @@ -59,16 +59,16 @@ async fn get_full_dojo_metadata_from_workspace() { assert!(env.rpc_url.unwrap().eq("http://localhost:5050/")); assert!(env.account_address.is_some()); - assert!(env - .account_address - .unwrap() - .eq("0x5a37d83d451063858217e9c510d6f45d6bd37ff8664a7c0466329316f7a2891")); + assert!( + env.account_address + .unwrap() + .eq("0x5a37d83d451063858217e9c510d6f45d6bd37ff8664a7c0466329316f7a2891") + ); assert!(env.private_key.is_some()); - assert!(env - .private_key - .unwrap() - .eq("0x1800000000300000180000000000030000000000003006001800006600")); + assert!( + env.private_key.unwrap().eq("0x1800000000300000180000000000030000000000003006001800006600") + ); assert!(env.world_address.is_some()); diff --git a/crates/katana/executor/tests/executor.rs b/crates/katana/executor/tests/executor.rs index 57ae0f0247..27bd6186a9 100644 --- a/crates/katana/executor/tests/executor.rs +++ b/crates/katana/executor/tests/executor.rs @@ -56,11 +56,7 @@ fn test_executor_with_valid_blocks_impl( // ensure that all transactions succeeded, if not panic with the error message and tx index let has_failed = transactions.iter().enumerate().find_map(|(i, (_, res))| { - if let ExecutionResult::Failed { error } = res { - Some((i, error)) - } else { - None - } + if let ExecutionResult::Failed { error } = res { Some((i, error)) } else { None } }); if let Some((pos, error)) = has_failed {