Skip to content

Commit e7b06a3

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 cc4c842 commit e7b06a3

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

integration_test/tests/blockchain.rs

+12-12
Original file line numberDiff line numberDiff line change
@@ -283,24 +283,24 @@ 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",
291+
feature = "v22",
292292
))]
293293
{
294294
node.client.save_mempool().expect("savemempool");
295295
}
296296

297297
#[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"
298+
feature = "v17",
299+
feature = "v18",
300+
feature = "v19",
301+
feature = "v20",
302+
feature = "v21",
303+
feature = "v22",
304304
)))]
305305
{
306306
let _: Result<SaveMempool, _> = node.client.save_mempool();

0 commit comments

Comments
 (0)