Skip to content

Commit f363735

Browse files
committed
Increase test coverage of rename
- Invoke the rename request from multiple marker locations within a test file - Add more test cases to test compound decl name references
1 parent b499472 commit f363735

File tree

2 files changed

+90
-101
lines changed

2 files changed

+90
-101
lines changed

Sources/SKTestSupport/TestSourceKitLSPClient.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,11 @@ public struct DocumentPositions {
336336
}
337337
return position
338338
}
339+
340+
/// Returns all position makers within these `DocumentPositions`.
341+
public var allMarkers: [String] {
342+
return positions.keys.sorted()
343+
}
339344
}
340345

341346
// MARK: - WeakMessageHelper

0 commit comments

Comments
 (0)