Skip to content

Commit 2254c1e

Browse files
committed
integration_test: Use version alias
We have alias for the exact versions in the integration tests because they are more terse with no loss of clarity.
1 parent 97341d9 commit 2254c1e

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

integration_test/tests/blockchain.rs

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -283,24 +283,22 @@ fn blockchain__savemempool() {
283283
let (_addr, _txid) = node.create_mempool_transaction();
284284

285285
#[cfg(any(
286-
feature = "0_17_2",
287-
feature = "0_18_1",
288-
feature = "0_19_1",
289-
feature = "0_20_2",
290-
feature = "0_21_2",
291-
feature = "22_1"
286+
feature = "v17",
287+
feature = "v18",
288+
feature = "v19",
289+
feature = "v20",
290+
feature = "v21",
292291
))]
293292
{
294293
node.client.save_mempool().expect("savemempool");
295294
}
296295

297296
#[cfg(not(any(
298-
feature = "0_17_2",
299-
feature = "0_18_1",
300-
feature = "0_19_1",
301-
feature = "0_20_2",
302-
feature = "0_21_2",
303-
feature = "22_1"
297+
feature = "v17",
298+
feature = "v18",
299+
feature = "v19",
300+
feature = "v20",
301+
feature = "v21",
304302
)))]
305303
{
306304
let _: Result<SaveMempool, _> = node.client.save_mempool();

0 commit comments

Comments
 (0)