Skip to content

Commit b3a89f9

Browse files
committed
Remove testable imports of LanguageServerProtocol
1 parent 64511cd commit b3a89f9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Sources/LanguageServerProtocol/TextEdit.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
public struct TextEdit: ResponseType, Hashable {
1515

1616
/// The range of text to be replaced.
17-
var range: PositionRange
17+
public var range: PositionRange
1818

1919
/// The new text.
20-
var newText: String
20+
public var newText: String
2121

2222
public init(range: Range<Position>, newText: String) {
2323
self.range = PositionRange(range)

Tests/LanguageServerProtocolTests/LanguageServerProtocolTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
@testable import LanguageServerProtocol
13+
import LanguageServerProtocol
1414

1515
import XCTest
1616

Tests/SourceKitTests/DocumentColorTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import SKSupport
1414
import SKTestSupport
1515
import XCTest
1616

17-
@testable import LanguageServerProtocol
17+
import LanguageServerProtocol
1818
@testable import SourceKit
1919

2020
final class DocumentColorTests: XCTestCase {

0 commit comments

Comments
 (0)