File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -229,10 +229,9 @@ final class SwiftInterfaceTests: XCTestCase {
229
229
)
230
230
let referenceDocumentUri = try XCTUnwrap ( response? . locations? . only) . uri
231
231
let referenceDocument = try await project. testClient. send ( GetReferenceDocumentRequest ( uri: referenceDocumentUri) )
232
-
233
232
let stringIndex = try XCTUnwrap ( referenceDocument. content. firstRange ( of: " -> String " ) )
234
233
let ( stringLine, stringColumn) = LineTable ( referenceDocument. content)
235
- . lineAndUTF16ColumnOf ( referenceDocument. content. index ( stringIndex. lowerBound, offsetBy: 3 ) )
234
+ . lineAndUTF16ColumnOf ( referenceDocument. content. index ( stringIndex. lowerBound, offsetBy: 3 ) )
236
235
project. testClient. send (
237
236
DidOpenTextDocumentNotification (
238
237
textDocument: TextDocumentItem (
@@ -246,7 +245,7 @@ final class SwiftInterfaceTests: XCTestCase {
246
245
let hover = try await project. testClient. send (
247
246
HoverRequest (
248
247
textDocument: TextDocumentIdentifier ( referenceDocumentUri) ,
249
- position: Position ( line: stringLine, utf16index: stringColumn)
248
+ position: Position ( line: stringLine, utf16index: stringColumn)
250
249
)
251
250
)
252
251
XCTAssertNotNil ( hover)
You can’t perform that action at this time.
0 commit comments