Skip to content

Commit

Permalink
dev: fix clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Harsh Bajpai authored and Harsh Bajpai committed Sep 8, 2023
1 parent c631cd9 commit 28514b9
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions crates/ef-testing/src/utils/assert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
)));
}

Expand Down Expand Up @@ -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
)));
}
}
Expand Down

0 comments on commit 28514b9

Please sign in to comment.