Skip to content

Backport culture-independent overload-scoring fixture to 4.x - #4215

Merged
lahma merged 1 commit into
sebastienros:4.xfrom
EvotecIT:fix/invariant-test-format-4x
Oct 5, 2026
Merged

lahma merged 1 commit into
sebastienros:4.xfrom
EvotecIT:fix/invariant-test-format-4x

Conversation

@PrzemyslawKlys

Copy link
Copy Markdown
Contributor

Backport the culture-independent overload-scoring fixture from #4214 to 4.x.

The numeric-conversion test expects 98.6F, but current-culture interpolation returns 98,6F on a pl-PL host. FormattableString.Invariant keeps the existing conversion assertion consistent across cultures.

Validation: all five HostOverloadScoringTests pass under pl-PL on .NET 10 and .NET Framework 4.7.2. The unchanged 4.x public-interface suite reproduces the original failure.

@lahma lahma left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test-only: the fixture formats with the invariant culture, so the assertion holds under pl-PL. CI green on 39dce2a.

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