diff options
Diffstat (limited to 'src/term/mod.rs')
-rw-r--r-- | src/term/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/term/mod.rs b/src/term/mod.rs index 3cf06b2c..e4c64fa5 100644 --- a/src/term/mod.rs +++ b/src/term/mod.rs @@ -1264,7 +1264,6 @@ impl ansi::Handler for Term { #[cfg(test)] mod tests { extern crate serde_json; - extern crate test; use super::{Term, limit, SizeInfo}; @@ -1314,7 +1313,7 @@ mod tests { } } -#[cfg(test)] +#[cfg(all(test, feature = "bench"))] mod benches { extern crate test; extern crate serde_json as json; |