Registry Mirror
Skip to content

Conversation

@filzrev

@filzrev filzrev commented Dec 16, 2025

Copy link
Copy Markdown
Contributor

On PowerManagementApplierTests
Following assertion is failed when running on localized Windows environment.

Assert.Equal("High performance", PowerManagementHelper.CurrentPlanFriendlyName);

It's because "High performance" text might be localized based on locale (UILanguage).

This PR skip FriendlyName check if UILanaguage is not en-US.
And add using to ensure Dispose() called immediately.

@timcassell
timcassell merged commit 84da41d into dotnet:master Dec 16, 2025
@timcassell timcassell added this to the v0.16.0 milestone Dec 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants