Skip to content

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
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