Skip to content

Commit 387ee6d

Browse files
committed
f Move tests to tests folder
1 parent 33c2dae commit 387ee6d

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

lightning-transaction-sync/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,6 @@ mod esplora;
7575
#[cfg(any(feature = "esplora-blocking", feature = "esplora-async"))]
7676
mod common;
7777

78-
#[cfg(all(test, any(feature = "esplora-async", feature = "esplora-blocking")))]
79-
mod tests;
80-
8178
mod error;
8279
pub use error::TxSyncError;
8380

lightning-transaction-sync/src/tests.rs renamed to lightning-transaction-sync/tests/integration_tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#[cfg(any(feature = "esplora-blocking", feature = "esplora-async"))]
2-
use crate::esplora::EsploraSyncClient;
1+
#![cfg(any(feature = "esplora-blocking", feature = "esplora-async"))]
2+
use lightning_transaction_sync::EsploraSyncClient;
33
use lightning::chain::{Confirm, Filter};
44
use lightning::chain::transaction::TransactionData;
55
use lightning::util::logger::{Logger, Record};

0 commit comments

Comments
 (0)