diff --git a/tests/errors.rs b/tests/errors.rs index b04b0799..47110a51 100644 --- a/tests/errors.rs +++ b/tests/errors.rs @@ -45,6 +45,7 @@ fn test_error_type() { } #[test] +#[cfg(unix)] fn test_error_deser_whole() { #[derive(Deserialize, Debug)] struct Place { diff --git a/tests/file_yaml.rs b/tests/file_yaml.rs index 4758b4b1..751dda68 100644 --- a/tests/file_yaml.rs +++ b/tests/file_yaml.rs @@ -74,6 +74,7 @@ fn test_file() { } #[test] +#[cfg(unix)] fn test_error_parse() { let res = Config::builder() .add_source(File::new("tests/Settings-invalid", FileFormat::Yaml))