Skip to content

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