From 9d04bbbf003ec314550c18e86799d941b3474dc7 Mon Sep 17 00:00:00 2001 From: Ethan Hall Date: Wed, 26 Sep 2018 23:13:35 -0700 Subject: [PATCH] Test will only trigger on Linux now --- inc/tests/inc-checkout.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/tests/inc-checkout.rs b/inc/tests/inc-checkout.rs index b43175c..ae7cdc7 100644 --- a/inc/tests/inc-checkout.rs +++ b/inc/tests/inc-checkout.rs @@ -9,7 +9,6 @@ mod checkout_integration { use std::env::var; use std::fs; use std::io::prelude::*; - use std::os::unix::fs::OpenOptionsExt; #[test] fn checkout_github_repo() { @@ -88,7 +87,9 @@ ARGS: } #[test] + #[cfg(unix)] fn checkout_list_with_external() { + use std::os::unix::fs::OpenOptionsExt; with_test_dir(|tmp_dir| { let file_path = tmp_dir.clone().join("inc-checkout-service-foobar"); let file_path = file_path.to_str().unwrap();