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

Create file URLs for bundle files in TestFileSystem #661

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

d-ronnqvist
Copy link
Contributor

Bug/issue #, if applicable:

Summary

Use URL(fileURLWithPath:) instead of URL(string:) when creating URLs for documentation bundle files in TestFileSystem. This makes them file URLs.

Dependencies

None

Testing

This isn't a user-facing change.

Checklist

Make sure you check off the following items. If they cannot be completed, provide a reason.

  • Added tests
  • Ran the ./bin/test script and it succeeded
  • [ ] Updated documentation if necessary

Also, create file URL for baseURL fallback for DiagnosticConsoleWriter
@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

@d-ronnqvist d-ronnqvist merged commit a85c614 into swiftlang:main Jul 17, 2023
@d-ronnqvist d-ronnqvist deleted the tests-use-file-urls branch July 17, 2023 17:50
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