From e08b1c4e898e79f46c80e686cb5767caac5f6190 Mon Sep 17 00:00:00 2001 From: Wataru Matsui Date: Tue, 11 Dec 2018 20:16:11 +0900 Subject: [PATCH] fix windows test --- src/cargo.rs | 1 + src/core.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/cargo.rs b/src/cargo.rs index 8b97093..b80d094 100644 --- a/src/cargo.rs +++ b/src/cargo.rs @@ -76,6 +76,7 @@ pub fn config(opt_path: &Option) -> Result { } #[cfg(test)] +#[cfg(not(target_os = "windows"))] mod tests { use crate::cargo::*; diff --git a/src/core.rs b/src/core.rs index 0150232..e3a2dae 100644 --- a/src/core.rs +++ b/src/core.rs @@ -22,6 +22,7 @@ pub fn hash(input: &str) -> u64 { } #[cfg(test)] +#[cfg(not(target_os = "windows"))] mod tests { use crate::core::*;