Skip to content

Commit

Permalink
refactor: improve comments in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
avilagaston9 committed Oct 28, 2024
1 parent bab60d7 commit 56388b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions batcher/aligned-batcher/src/retry/batcher_retryables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ mod test {
.unwrap();

assert_eq!(balance, U256::zero());
// Kill anvil
// Anvil is killed when the scope is left
}

let result =
Expand Down Expand Up @@ -178,7 +178,7 @@ mod test {
.unwrap();

assert_eq!(unlocked, false);
// Kill Anvil
// Anvil is killed when the scope is left
}

let result = user_balance_is_unlocked_retryable(
Expand Down Expand Up @@ -220,7 +220,7 @@ mod test {
.unwrap();

assert_eq!(nonce, U256::zero());
// Kill Anvil
// Anvil is killed when the scope is left
}

let result = get_user_nonce_from_ethereum_retryable(
Expand Down Expand Up @@ -256,7 +256,7 @@ mod test {
let result = get_gas_price_retryable(&eth_rpc_provider, &eth_rpc_provider).await;

assert!(result.is_ok());
// kill Anvil
// Anvil is killed when the scope is left
}
let result = get_gas_price_retryable(&eth_rpc_provider, &eth_rpc_provider).await;
assert!(matches!(result, Err(RetryError::Transient(_))));
Expand Down

0 comments on commit 56388b1

Please sign in to comment.