Skip to content
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

Fix LengthUnit/isDefault test crash on Xcode 16 #452

Conversation

erikbasargin
Copy link
Contributor

Fix for #451 issue.

This seems to be a bug in Xcode 16. See swift forum discussion for more details https://forums.swift.org/t/fatal-error-internal-inconsistency-no-test-reporter-for-test-case-argumentids/75666.

The test crashes because there are two copies of the same value LengthUnit.em(.infinity)/LengthUnit.default. Moved the check of LengthUnit.default into a separate test LengthUnitTests/defaultValue to resolve this crash.

Fix for twostraws#451 issue.

This seems to be a bug in Xcode 16. See swift forum discussion for more details https://forums.swift.org/t/fatal-error-internal-inconsistency-no-test-reporter-for-test-case-argumentids/75666.

The test crashes because there are two copies of the same value `LengthUnit.em(.infinity)/LengthUnit.default`. Moved the check of LengthUnit.default into a separate test `LengthUnitTests/defaultValue` to resolve this crash.
@JPToroDev
Copy link
Collaborator

Excellent—thank you!

@JPToroDev JPToroDev merged commit 71ee251 into twostraws:main Feb 1, 2025
1 check 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