Move Network test helper from util crate into text crate
This way, `util` does not depend on `clock`. Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
9b8c782609
commit
28bacabc4e
6 changed files with 75 additions and 74 deletions
|
@ -11,8 +11,9 @@ use std::{
|
|||
rc::Rc,
|
||||
time::{Duration, Instant},
|
||||
};
|
||||
use text::network::Network;
|
||||
use unindent::Unindent as _;
|
||||
use util::{post_inc, test::Network};
|
||||
use util::post_inc;
|
||||
|
||||
#[cfg(test)]
|
||||
#[ctor::ctor]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue