Skip to content

Commit

Permalink
test(mempool): rename get_txs test to be more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
ayeletstarkware committed Jul 16, 2024
1 parent f18ed62 commit 0aba599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/mempool/src/mempool_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ fn assert_eq_mempool_queue(mempool: &Mempool, expected_queue: &[ThinTransaction]
#[case::test_get_exactly_all_eligible_txs(3)]
#[case::test_get_more_than_all_eligible_txs(5)]
#[case::test_get_less_than_all_eligible_txs(2)]
fn test_get_txs(#[case] requested_txs: usize) {
fn test_get_txs_fetching_order(#[case] requested_txs: usize) {
let tx_tip_20_account_0 = add_tx_input!(tip: 20, tx_hash: 1).tx;
let tx_tip_30_account_1 = add_tx_input!(tip: 30, tx_hash: 2, sender_address: "0x1").tx;
let tx_tip_10_account_2 = add_tx_input!(tip: 10, tx_hash: 3, sender_address: "0x2").tx;
Expand Down

0 comments on commit 0aba599

Please sign in to comment.