Skip to content

Commit 35fee77

Browse files
committed
Add a test for #2765
1 parent 0204dcb commit 35fee77

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

tests/source/imports.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ use foo::{a, bar::{baz, qux, xxxxxxxxxxx, yyyyyyyyyyyyy, zzzzzzzzzzzzzzzz, foo::
8383

8484
use fooo::{baar::{foobar::{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy, zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz}}, z, bar, bar::*, x, y};
8585

86+
use exonum::{api::{Api, ApiError}, blockchain::{self, BlockProof, Blockchain, Transaction, TransactionSet}, crypto::{Hash, PublicKey}, helpers::Height, node::TransactionSend, storage::{ListProof, MapProof}};
87+
8688
// nested imports with a single sub-tree.
8789
use a::{b::{c::*}};
8890
use a::{b::{c::{}}};

tests/target/imports.rs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,18 @@ use fooo::{
9494
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy,
9595
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz,
9696
},
97-
bar, bar::*, x, y, z,
97+
bar,
98+
bar::*,
99+
x, y, z,
100+
};
101+
102+
use exonum::{
103+
api::{Api, ApiError},
104+
blockchain::{self, BlockProof, Blockchain, Transaction, TransactionSet},
105+
crypto::{Hash, PublicKey},
106+
helpers::Height,
107+
node::TransactionSend,
108+
storage::{ListProof, MapProof},
98109
};
99110

100111
// nested imports with a single sub-tree.

0 commit comments

Comments
 (0)