Tests compile on Windows

Just shut off a bunch of test sections. Probably most can remain as long
as some of them get broken out into separate unix-only test sections.
This commit is contained in:
Daniel 2019-02-02 23:30:23 -05:00 committed by Pierre Peltier
parent 0f2f3ca12a
commit 038f318ad3
4 changed files with 4 additions and 4 deletions

View file

@ -305,7 +305,7 @@ impl Icons {
}
}
#[cfg(test)]
#[cfg(all(test,unix))]
mod test {
use super::{Icons, Theme, ICON_SPACE};
use crate::meta::{FileType, Name, Permissions};

View file

@ -55,7 +55,7 @@ impl Date {
}
}
#[cfg(test)]
#[cfg(all(test, unix))]
mod test {
use super::Date;
use crate::color::{Colors, Theme};

View file

@ -70,7 +70,7 @@ impl FileType {
}
}
#[cfg(test)]
#[cfg(all(test, unix))]
mod test {
use super::FileType;
use crate::color::{Colors, Theme};

View file

@ -90,7 +90,7 @@ impl PartialEq for Name {
}
}
#[cfg(test)]
#[cfg(all(test, unix))]
mod test {
use super::Name;
use crate::color::{self, Colors};