Skip to content

Commit a781b56

Browse files
committed
Run the formatter
1 parent f821841 commit a781b56

12 files changed

Lines changed: 18 additions & 18 deletions

File tree

bitcoind/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ mod test {
667667
use tempfile::TempDir;
668668

669669
use super::*;
670-
use crate::{exe_path, get_available_port, Conf, BitcoinD, LOCAL_IP, P2P};
670+
use crate::{exe_path, get_available_port, BitcoinD, Conf, LOCAL_IP, P2P};
671671

672672
#[test]
673673
fn test_local_ip() {

integration_test/tests/blockchain.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
use bitcoin::consensus::encode;
88
use bitcoin::hex;
9-
use integration_test::{BitcoinD, BitcoinDExt as _, Wallet};
109
use bitcoind::vtype::*; // All the version specific types.
1110
use bitcoind::{mtype, Input, Output};
11+
use integration_test::{BitcoinD, BitcoinDExt as _, Wallet};
1212

1313
#[test]
1414
#[cfg(not(feature = "v25_and_below"))]

integration_test/tests/control.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
55
#![allow(non_snake_case)] // Test names intentionally use double underscore.
66

7-
use integration_test::{BitcoinD, BitcoinDExt as _, Wallet};
8-
use bitcoind::vtype::*; // All the version specific types.
7+
use bitcoind::vtype::*;
8+
use integration_test::{BitcoinD, BitcoinDExt as _, Wallet}; // All the version specific types.
99

1010
#[test]
1111
fn control__get_memory_info() {

integration_test/tests/generating.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
#![allow(non_snake_case)] // Test names intentionally use double underscore.
66

77
use bitcoin::hex;
8-
use integration_test::{BitcoinD, BitcoinDExt as _, Wallet};
98
use bitcoind::mtype;
10-
use bitcoind::vtype::*; // All the version specific types.
9+
use bitcoind::vtype::*;
10+
use integration_test::{BitcoinD, BitcoinDExt as _, Wallet}; // All the version specific types.
1111

1212
#[test]
1313
#[cfg(not(feature = "v20_and_below"))]

integration_test/tests/hidden.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ use bitcoin::{
1616
absolute, consensus, transaction, Amount, OutPoint, ScriptBuf, Sequence, Transaction, TxIn,
1717
TxOut, Txid, Witness,
1818
};
19-
use integration_test::{BitcoinD, BitcoinDExt as _, Wallet};
2019
use bitcoind::mtype;
2120
use bitcoind::vtype::*; // All the version specific types.
2221
#[cfg(not(feature = "v21_and_below"))]
2322
use bitcoind::P2P;
23+
use integration_test::{BitcoinD, BitcoinDExt as _, Wallet};
2424

2525
#[test]
2626
#[cfg(not(feature = "v21_and_below"))]

integration_test/tests/mining.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
#![allow(non_snake_case)] // Test names intentionally use double underscore.
66

77
use bitcoin::SignedAmount;
8-
use integration_test::{BitcoinD, BitcoinDExt as _, Wallet};
98
use bitcoind::vtype::*;
10-
use bitcoind::{mtype, TemplateRequest, TemplateRules}; // All the version specific types.
9+
use bitcoind::{mtype, TemplateRequest, TemplateRules};
10+
use integration_test::{BitcoinD, BitcoinDExt as _, Wallet}; // All the version specific types.
1111

1212
#[test]
1313
fn mining__get_block_template__modelled() {

integration_test/tests/network.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
55
#![allow(non_snake_case)] // Test names intentionally use double underscore.
66

7-
use integration_test::{BitcoinD, BitcoinDExt as _, Wallet};
87
use bitcoind::vtype::*; // All the version specific types.
98
use bitcoind::{mtype, AddNodeCommand, SetBanCommand};
9+
use integration_test::{BitcoinD, BitcoinDExt as _, Wallet};
1010

1111
#[test]
1212
fn network__add_node() {

integration_test/tests/raw_transactions.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ use bitcoin::opcodes::all::*;
1212
use bitcoin::{
1313
absolute, consensus, hex, psbt, script, transaction, Amount, ScriptBuf, Transaction, TxOut,
1414
};
15-
use integration_test::{test_keys, BitcoinD, BitcoinDExt as _, Wallet};
1615
use bitcoind::vtype::*;
17-
use bitcoind::{mtype, Input, Output}; // All the version specific types.
16+
use bitcoind::{mtype, Input, Output};
17+
use integration_test::{test_keys, BitcoinD, BitcoinDExt as _, Wallet}; // All the version specific types.
1818

1919
#[test]
2020
#[cfg(not(feature = "v17"))] // analyzepsbt was added in v0.18.

integration_test/tests/signer.rs

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

88
use bitcoin::address::{NetworkUnchecked, ParseError};
99
use bitcoin::Address;
10-
use integration_test::{BitcoinD, BitcoinDExt as _, Wallet};
1110
use bitcoind::vtype::*;
12-
use bitcoind::{mtype, Input, Output}; // All the version specific types.
11+
use bitcoind::{mtype, Input, Output};
12+
use integration_test::{BitcoinD, BitcoinDExt as _, Wallet}; // All the version specific types.
1313

1414
#[test]
1515
#[cfg(unix)]

integration_test/tests/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
#![allow(unused_imports)] // Because of feature gated tests.
77

88
use bitcoin::{address, amount, sign_message, PrivateKey, PublicKey};
9-
use integration_test::{BitcoinD, BitcoinDExt as _, Wallet};
109
use bitcoind::vtype::*;
1110
use bitcoind::{mtype, FeeEstimateMode};
11+
use integration_test::{BitcoinD, BitcoinDExt as _, Wallet};
1212

1313
#[test]
1414
fn util__create_multisig__modelled() {

0 commit comments

Comments
 (0)