From 0a55844a83e894fc48d38d9d43a29200245e71d8 Mon Sep 17 00:00:00 2001 From: Ayelet Zilber Date: Tue, 16 Jul 2024 15:02:17 +0300 Subject: [PATCH] test(mempool): rename get_txs test to be more specific --- crates/mempool/src/mempool_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/mempool/src/mempool_test.rs b/crates/mempool/src/mempool_test.rs index 8f015548..9c97fa73 100644 --- a/crates/mempool/src/mempool_test.rs +++ b/crates/mempool/src/mempool_test.rs @@ -144,7 +144,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_returns_by_priority_order(#[case] requested_txs: usize) { // Setup. let tx_tip_20_account_0 = add_tx_input!(tip: 20, tx_hash: 1, sender_address: "0x0").tx; let tx_tip_30_account_1 = add_tx_input!(tip: 30, tx_hash: 2, sender_address: "0x1").tx;