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
+1 -2
View File
@@ -1,4 +1,4 @@
use super::*;
use super::{network::Network, *};
use clock::ReplicaId;
use rand::prelude::*;
use std::{
@@ -7,7 +7,6 @@ use std::{
iter::Iterator,
time::{Duration, Instant},
};
use util::test::Network;
#[cfg(test)]
#[ctor::ctor]