Skip to content

Update test-static-stdlib for swift-foundation #139

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
Jun 20, 2024

Conversation

jmschonfeld
Copy link
Contributor

With swift-foundation landing in the toolchain, the behavior of URL.description has changed. This test relies on this behavior and it fails with the new toolchain builds. Instead, this updates the tests to call URL.relativePath directly (which behaves as the previous URL.description did but is also consistent in behavior with swift-foundation. This makes the test more reliable and passes with both the old and new Foundation

@jmschonfeld jmschonfeld merged commit d47eb5d into swiftlang:main Jun 20, 2024
@jmschonfeld jmschonfeld deleted the update-for-swiftfoundation branch June 20, 2024 16:35
jmschonfeld added a commit to jmschonfeld/swift-integration-tests that referenced this pull request Jun 20, 2024
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.

3 participants