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 2177251 commit d1f1387
Show file tree
Hide file tree
Showing 2 changed files with 2 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

0 comments on commit d1f1387

Please sign in to comment.