Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/cargo/thiserror-1.0.69
Browse files Browse the repository at this point in the history
  • Loading branch information
wmmc88 authored Jan 15, 2025
2 parents 4877f83 + 2d87280 commit 17575e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/wdk-build/src/cargo_make.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1121,15 +1121,15 @@ mod tests {
|| panic!("Couldn't get OS string"),
|os_env_string| os_env_string.to_string_lossy().into_owned(),
);
assert_eq!(env_string.split(' ').last(), Some("/msft"));
assert_eq!(env_string.split(' ').next_back(), Some("/msft"));

crate::cargo_make::setup_infverif_for_samples(WDK_TEST_NEW_INF_VERSION)?;
let env_string = std::env::var_os(crate::cargo_make::WDK_INF_ADDITIONAL_FLAGS_ENV_VAR)
.map_or_else(
|| panic!("Couldn't get OS string"),
|os_env_string| os_env_string.to_string_lossy().into_owned(),
);
assert_eq!(env_string.split(' ').last(), Some("/samples"));
assert_eq!(env_string.split(' ').next_back(), Some("/samples"));
Ok(())
}
}

0 comments on commit 17575e6

Please sign in to comment.