Skip to content

Commit 63d0d3d

Browse files
added allow unused tags to test helper re-exports
1 parent aac32d1 commit 63d0d3d

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

tests/common/mod.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ macro_rules! expect_channel_pending_event {
115115
}};
116116
}
117117

118+
#[allow(unused_imports)]
118119
pub(crate) use expect_channel_pending_event;
119120

120121
macro_rules! expect_channel_ready_event {
@@ -141,8 +142,10 @@ macro_rules! expect_channel_ready_event {
141142
}};
142143
}
143144

145+
#[allow(unused_imports)]
144146
pub(crate) use expect_channel_ready_event;
145147

148+
#[allow(unused_macros)]
146149
macro_rules! expect_channel_ready_events {
147150
($node:expr, $counterparty_node_id_a:expr, $counterparty_node_id_b:expr) => {{
148151
let mut ids = Vec::new();
@@ -177,6 +180,7 @@ macro_rules! expect_channel_ready_events {
177180
}};
178181
}
179182

183+
#[allow(unused_imports)]
180184
pub(crate) use expect_channel_ready_events;
181185

182186
macro_rules! expect_splice_pending_event {
@@ -203,6 +207,7 @@ macro_rules! expect_splice_pending_event {
203207
}};
204208
}
205209

210+
#[allow(unused_imports)]
206211
pub(crate) use expect_splice_pending_event;
207212

208213
macro_rules! expect_payment_received_event {
@@ -233,6 +238,7 @@ macro_rules! expect_payment_received_event {
233238
}};
234239
}
235240

241+
#[allow(unused_imports)]
236242
pub(crate) use expect_payment_received_event;
237243

238244
macro_rules! expect_payment_claimable_event {
@@ -269,6 +275,7 @@ macro_rules! expect_payment_claimable_event {
269275
}};
270276
}
271277

278+
#[allow(unused_imports)]
272279
pub(crate) use expect_payment_claimable_event;
273280

274281
macro_rules! expect_payment_successful_event {
@@ -299,6 +306,7 @@ macro_rules! expect_payment_successful_event {
299306
}};
300307
}
301308

309+
#[allow(unused_imports)]
302310
pub(crate) use expect_payment_successful_event;
303311

304312
pub(crate) fn setup_bitcoind_and_electrsd() -> (BitcoinD, ElectrsD) {
@@ -464,6 +472,7 @@ macro_rules! setup_builder {
464472
};
465473
}
466474

475+
#[allow(unused_imports)]
467476
pub(crate) use setup_builder;
468477

469478
#[cfg(any(cln_test, lnd_test, eclair_test))]

0 commit comments

Comments
 (0)