Auto merge of #11582 - ehuss:enable-source_config_env, r=weihanglo

Enable source_config_env test on Windows

This enables the `advaned_env::source_config_env` test on Windows. The issue with `Command` modifying the case of environment variables was fixed by https://github.com/rust-lang/rust/pull/85270.
This commit is contained in:
bors 2023-01-14 19:02:16 +00:00
commit 88f14290f2
1 changed files with 0 additions and 3 deletions

View File

@ -3,9 +3,6 @@
use cargo_test_support::{paths, project, registry::Package};
#[cargo_test]
// I don't know why, but `Command` forces all env keys to be upper case on
// Windows. Seems questionable, since I think Windows is case-preserving.
#[cfg_attr(windows, ignore = "broken due to not preserving case on Windows")]
fn source_config_env() {
// Try to define [source] with environment variables.
let p = project()