From 28514b9b54f328fbb0513eaf91b2f70f6244cec9 Mon Sep 17 00:00:00 2001 From: Harsh Bajpai Date: Fri, 8 Sep 2023 19:26:13 +0530 Subject: [PATCH] dev: fix clippy issues --- crates/ef-testing/src/utils/assert.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/crates/ef-testing/src/utils/assert.rs b/crates/ef-testing/src/utils/assert.rs index 9a030e57..43cc5ad3 100644 --- a/crates/ef-testing/src/utils/assert.rs +++ b/crates/ef-testing/src/utils/assert.rs @@ -31,10 +31,7 @@ pub fn assert_contract_post_state( if actual_nonce != account_nonce { return Err(RunnerError::Other(format!( "{} expected nonce {} for {:#20x}, got {}", - test_name, - account_nonce.to_string(), - evm_address, - actual_nonce.to_string() + test_name, account_nonce, evm_address, actual_nonce ))); } @@ -70,10 +67,7 @@ pub fn assert_contract_post_storage( if actual_state_value != value { return Err(RunnerError::Other(format!( "{} expected storage value {} for {:#20x}, got {}", - test_name, - value.to_string(), - evm_address, - actual_state_value.to_string() + test_name, value, evm_address, actual_state_value ))); } }