Add a test-support feature flag that enables compilation of zed::test module

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Max Brunsfeld 2021-06-23 16:36:03 -07:00
parent a57cb2b189
commit efc8bc3124
3 changed files with 24 additions and 25 deletions

View file

@ -7,12 +7,12 @@ mod operation_queue;
pub mod rpc;
pub mod settings;
mod sum_tree;
#[cfg(test)]
mod test;
#[cfg(any(test, feature = "test-support"))]
pub mod test;
mod time;
mod util;
pub mod workspace;
mod worktree;
pub mod worktree;
#[derive(Clone)]
pub struct AppState {