Skip to content

Adding some more tests for [U]Int128 in BinaryInteger+FormatStyleTests.swift and JSONEncoderTests.swift #806

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 9 commits into from
Aug 2, 2024

Conversation

lamtrinhdev
Copy link
Contributor

@lamtrinhdev lamtrinhdev commented Jul 31, 2024

Summary:

  • Bare minimum [U]Int128 support for JSONEncoderTests
  • Add some more testTypeCoercion in testTypeCoercion()
  • Add some more check [U]Int128 in testNumericStringRepresentation_builtinIntegersLimits()
  • Correct typo comment from resovled to resolved at URL.swift

Modifications:

  • Sources/FoundationEssentials/URL/URL.swift
  • Tests/FoundationEssentialsTests/Formatting/BinaryInteger+FormatStyleTests.swift
  • Tests/FoundationEssentialsTests/JSONEncoderTests.swift

Update minimum OS version for Int128 in testTypeCoercion()
Add more Int128 test for testTypeCoercion()
Add more test case Int128 for for testTypeCoercion()
Add more test case UInt128 for for testTypeCoercion()
@lamtrinhdev
Copy link
Contributor Author

Dear @parkera ,

I have a minor update for [U]Int128 in JSONEncoderTests. Could you help me to review it? and some wording typo.

Thanks,
Lam

Correct typo comment from "resovled" to "resolved" at URL.swift
Adding more case to testing [U]Int128
Adding more case to testing [U]Int128
Replace "@available" with "#available".
Replace "@available" with "#available".
@lamtrinhdev
Copy link
Contributor Author

lamtrinhdev commented Aug 1, 2024

Dear @stephentyrone , @kperryua ,

Could you please help me to reivew my PR?

Thanks,
Lam

@stephentyrone
Copy link
Contributor

@swift-ci test

@lamtrinhdev
Copy link
Contributor Author

Dear @stephentyrone ,

Thank you for your review. Could you help me to merge it? I do not have "write access" permission.

Thanks,
Lam

@parkera
Copy link
Contributor

parkera commented Aug 2, 2024

Would you mind updating the title to something a bit more descriptive of the change? It looks like this is about adding availability for some of the new tests.

@lamtrinhdev lamtrinhdev changed the title Bare minimum [U]Int128 support for JSONEncoderTests Adding some more tests for [U]Int128 in BinaryInteger+FormatStyleTests.swift and JSONEncoderTests.swift Aug 2, 2024
@lamtrinhdev
Copy link
Contributor Author

Dear @parkera ,

Thank you for your feedback. I just updated the title. Please help me to review it.

Thanks,
Lam

@parkera parkera merged commit 22b8e46 into swiftlang:main Aug 2, 2024
3 checks passed
@parkera
Copy link
Contributor

parkera commented Aug 2, 2024

Thank you!

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.

None yet

3 participants