summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/file.rs5
-rw-r--r--src/filetype.rs2
2 files changed, 2 insertions, 5 deletions
diff --git a/src/file.rs b/src/file.rs
index b5d9437..6cc7b5b 100644
--- a/src/file.rs
+++ b/src/file.rs
@@ -530,14 +530,11 @@ enum Permission {
OtherExecute = 0o001,
}
-#[cfg(test)]
+#[cfg(broken_test)]
pub mod test {
pub use super::*;
pub use column::{Cell, Column};
- pub use std::old_io as io;
- pub use std::old_path::GenericPath;
- pub use std::old_path::posix::Path;
pub use output::details::UserLocale;
pub use users::{User, Group};
diff --git a/src/filetype.rs b/src/filetype.rs
index aa3ff06..26026f7 100644
--- a/src/filetype.rs
+++ b/src/filetype.rs
@@ -139,7 +139,7 @@ impl<'a> HasType for File<'a> {
}
}
-#[cfg(test)]
+#[cfg(broken_test)]
mod test {
use super::*;
use file::test::{dummy_stat, new_file};