Skip to content

Commit 1939847

Browse files
committed
Mark @_spi(Testing) public for MacroExpansionEdit
1 parent 1249596 commit 1939847

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/SourceKitLSP/Swift/MacroExpansionEdit.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import SourceKitD
1515

1616
/// Represents a macro expansion as an edit. Notionally, a subclass of
1717
/// `TextEdit`
18-
public struct MacroExpansionEdit: Hashable, Sendable, Codable {
18+
@_spi(Testing) public struct MacroExpansionEdit: Hashable, Sendable, Codable {
1919
/// The range of text to be replaced.
2020
@CustomCodable<PositionRange>
2121
public var range: Range<Position>

Tests/SourceKitLSPTests/ExecuteCommandTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
import LSPTestSupport
1414
import LanguageServerProtocol
1515
import SKTestSupport
16-
import SourceKitLSP
1716
import XCTest
17+
@_spi(Testing) import SourceKitLSP
1818

1919
final class ExecuteCommandTests: XCTestCase {
2020
func testLocationSemanticRefactoring() async throws {

0 commit comments

Comments
 (0)