We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ba6fa0 commit ca9d2e9Copy full SHA for ca9d2e9
Tests/SourceKitLSPTests/ConvertDocumentationTests.swift
@@ -528,7 +528,9 @@ fileprivate func convertDocumentation(
528
}
529
switch response {
530
case .renderNode(let renderNodeString):
531
- guard let renderNode = try? JSONDecoder().decode(RenderNode.self, from: renderNodeString) else {
+ guard let renderNodeData = renderNodeString.data(using: .utf8),
532
+ let renderNode = try? JSONDecoder().decode(RenderNode.self, from: renderNodeData)
533
+ else {
534
XCTFail("failed to decode response from textDocument/convertDocumentation at position \(marker)")
535
return
536
0 commit comments