fix: clippy warnings in tests (#1954)

This commit is contained in:
Thor
2023-03-26 04:32:55 -07:00
committed by GitHub
parent ee226fc889
commit b27a0901a0
4 changed files with 32 additions and 23 deletions

View File

@ -444,7 +444,7 @@ mod tests {
assert_matches!(
result_rx.await,
Ok(Err(EngineApiError::TerminalBlockHash { execution, consensus }))
if execution == None && consensus == transition_config.terminal_block_hash
if execution.is_none() && consensus == transition_config.terminal_block_hash
);
// Add block and to provider local store and test for mismatch