8000 Re-enable some binary specifier tests by stephentoub · Pull Request #117304 · dotnet/runtime · GitHub
[go: up one dir, main page]

Skip to content

Re-enable some binary specifier tests #117304

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 4, 2025

Conversation

stephentoub
Copy link
Member

No description provided.

@Copilot Copilot AI review requested due to automatic review settings July 4, 2025 01:53
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jul 4, 2025
Copy link
Contributor
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the invalid-parse test logic in several numeric test suites to remove the old AllowBinarySpecifier shortcut now that BigInteger supports binary parsing. It simplifies the skip condition to only consider parsing failure or out-of-range values.

  • Removed special-case checks for NumberStyles.AllowBinarySpecifier
  • Consolidated skip logic to !BigInteger.TryParse(...) || bi out of the target range

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/libraries/System.Runtime/tests/System.Runtime.Tests/System/UInt64Tests.cs Simplified skip condition in Parse_Invalid_TestData
src/libraries/System.Runtime/tests/System.Runtime.Tests/System/UInt128Tests.cs Simplified skip condition in Parse_Invalid_TestData
src/libraries/System.Runtime/tests/System.Runtime.Tests/System/Int64Tests.cs Simplified skip condition in Parse_Invalid_TestData
src/libraries/System.Runtime/tests/System.Runtime.Tests/System/Int128Tests.cs Simplified skip condition in Parse_Invalid_TestData

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0