Skip to content

Commit

Permalink
test: Isolate unix-only test result
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Oct 23, 2024
1 parent cfc9034 commit 02f59dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ fn test_error_type() {
}

#[test]
#[cfg(unix)]
fn test_error_deser_whole() {
#[derive(Deserialize, Debug)]
struct Place {
Expand Down
1 change: 1 addition & 0 deletions tests/file_yaml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
1 change: 1 addition & 0 deletions tests/legacy/file_yaml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ fn test_file() {
}

#[test]
#[cfg(unix)]
fn test_error_parse() {
let mut c = Config::default();
let res = c.merge(File::new("tests/Settings-invalid", FileFormat::Yaml));
Expand Down

0 comments on commit 02f59dd

Please sign in to comment.