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:32:28 -08:00
parent 9b8c782609
commit 28bacabc4e
6 changed files with 75 additions and 74 deletions

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]