Skip to content

Commit

Permalink
tests added
Browse files Browse the repository at this point in the history
  • Loading branch information
michalkucharczyk committed Oct 28, 2024
1 parent 7abc554 commit c7c21df
Show file tree
Hide file tree
Showing 2 changed files with 311 additions and 89 deletions.
4 changes: 2 additions & 2 deletions substrate/client/transaction-pool/tests/fatp_common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,9 @@ macro_rules! assert_pool_status {

#[macro_export]
macro_rules! assert_ready_iterator {
($hash:expr, $pool:expr, [$( $xt:expr ),+]) => {{
($hash:expr, $pool:expr, [$( $xt:expr ),*]) => {{
let ready_iterator = $pool.ready_at($hash).now_or_never().unwrap();
let expected = vec![ $($pool.api().hash_and_length(&$xt).0),+];
let expected = vec![ $($pool.api().hash_and_length(&$xt).0),*];
let output: Vec<_> = ready_iterator.collect();
log::debug!(target:LOG_TARGET, "expected: {:#?}", expected);
log::debug!(target:LOG_TARGET, "output: {:#?}", output);
Expand Down
Loading

0 comments on commit c7c21df

Please sign in to comment.