Skip to content

Conversation

Harsh1925
Copy link
Contributor

Adds unit tests for ParsePseudoBigInt across non-decimal bases, responding to the
inline TODO ("tests for other bases") in internal/jsnum/pseudobigint_test.go.

  • Binary (0b/0B), Octal (0o/0O), Hex (0x/0X)
  • With/without underscore separators
  • Small-number cases (0, 1, 10, 255)
    No behavior changes; tests pass with the current implementation.

@Harsh1925 Harsh1925 force-pushed the test/jsnum-more-bases-clean branch from e61e1e2 to 81a982e Compare September 9, 2025 15:59
@Harsh1925
Copy link
Contributor Author

I’ve rebased, formatted with dprint, and CI is now green. Could you take another look when you have a moment?

@Harsh1925
Copy link
Contributor Author

Removed the resolved TODO and ran dprint fmt on the test file. Thanks!

@jakebailey jakebailey added this pull request to the merge queue Sep 10, 2025
Merged via the queue into microsoft:main with commit 3685064 Sep 10, 2025
22 checks passed
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