Skip to content

Commit 12faffc

Browse files
committed
test: allow unused re-exports in shared test harness
The shared `tests/common` module re-exports macros and helpers that are consumed by some but not all test binaries (e.g. reorg_test, probing_tests). Under `-D warnings` this now fails the build with unused_imports / unused_macros across those binaries. The module already carries `#![allow(dead_code)]` for exactly this shared-fixture reason; extend it to unused imports/macros so every test binary compiles again.
1 parent e59d73c commit 12faffc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/common/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
#![cfg(any(test, cln_test, lnd_test, eclair_test, vss_test))]
99
#![allow(dead_code)]
10+
#![allow(unused_imports)]
11+
#![allow(unused_macros)]
1012

1113
pub(crate) mod external_node;
1214
pub(crate) mod logging;

0 commit comments

Comments
 (0)