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:
Max Brunsfeld
2022-03-04 13:54:07 -08:00
co-authored by Nathan Sobo
parent 9b8c782609
commit 28bacabc4e
6 changed files with 75 additions and 74 deletions
+2 -1
View File
@@ -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]