mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-06-24 12:21:58 +02:00
9e6b71dc07
The test was constructing the percent-encoded file URL from `filePath`, which uses native OS path separators. On Windows this produced a backslash-separated path inside a `file://` URL, making the URL malformed. Fix by replacing `+` with `%2B` in `absoluteString` instead, which is already a well-formed URL string with forward slashes on all platforms. rdar://175272642