Skip to content

Commit 52f6ddf

Browse files
committed
Tests: remove @testable import SourceControl
Use the newly extended APIs for testing and use a non-testable import of the package, avoiding a recompilation.
1 parent a2bba38 commit 52f6ddf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Tests/SourceControlTests/GitRepositoryProviderTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import Foundation
1313

1414
import Basics
1515
import _InternalTestSupport
16-
@testable import SourceControl
16+
import SourceControl
1717
import Testing
1818

1919
struct GitRepositoryProviderTests {

Tests/SourceControlTests/GitRepositoryTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
@_spi(ProcessEnvironmentBlockShim)
1414
import Basics
15-
@testable import SourceControl
15+
import SourceControl
1616
import _InternalTestSupport
1717
import XCTest
1818

Tests/SourceControlTests/RepositoryManagerTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import Basics
1414
import _Concurrency
1515
import PackageModel
1616
import _InternalTestSupport
17-
@testable import SourceControl
17+
import SourceControl
1818
import XCTest
1919

2020
final class RepositoryManagerTests: XCTestCase {

0 commit comments

Comments
 (0)