mirror of
https://github.com/lsd-rs/lsd
synced 2024-12-14 06:02:36 +00:00
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:
parent
0f2f3ca12a
commit
038f318ad3
4 changed files with 4 additions and 4 deletions
|
@ -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};
|
||||
|
|
|
@ -55,7 +55,7 @@ impl Date {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
#[cfg(all(test, unix))]
|
||||
mod test {
|
||||
use super::Date;
|
||||
use crate::color::{Colors, Theme};
|
||||
|
|
|
@ -70,7 +70,7 @@ impl FileType {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
#[cfg(all(test, unix))]
|
||||
mod test {
|
||||
use super::FileType;
|
||||
use crate::color::{Colors, Theme};
|
||||
|
|
|
@ -90,7 +90,7 @@ impl PartialEq for Name {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
#[cfg(all(test, unix))]
|
||||
mod test {
|
||||
use super::Name;
|
||||
use crate::color::{self, Colors};
|
||||
|
|
Loading…
Reference in a new issue