From 2b6511fe65e11824d188cbce6a39764515712674 Mon Sep 17 00:00:00 2001 From: Kevin K Date: Fri, 18 Dec 2015 02:24:34 -0500 Subject: [PATCH] tests(fmt): removes fmt tests from Windows builds --- src/fmt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fmt.rs b/src/fmt.rs index bd3516d6..3b1ede7e 100644 --- a/src/fmt.rs +++ b/src/fmt.rs @@ -55,7 +55,7 @@ impl fmt::Display for Format { } } -#[cfg(test)] +#[cfg(all(test, feature = "color", not(target_os = "windows")))] mod test { use super::Format; use ansi_term::Colour::{Green, Red, Yellow};