Skip to content

Commit 1a9dc97

Browse files
authored
Remove @_implementationOnly imports. (#33)
1 parent 9c1a873 commit 1a9dc97

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

Sources/MacroTesting/AssertMacro.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ import SwiftSyntaxMacros
1010
import XCTest
1111

1212
#if canImport(Testing)
13-
// NB: We are importing only the implementation of Testing because that framework is not available
14-
// in Xcode UI test targets.
15-
@_implementationOnly import Testing
13+
import Testing
1614
#endif
1715

1816
/// Asserts that a given Swift source string matches an expected string with all macros expanded.

Sources/MacroTesting/Internal/RecordIssue.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import XCTest
22

33
#if canImport(Testing)
4-
// NB: We are importing only the implementation of Testing because that framework is not available
5-
// in Xcode UI test targets.
6-
@_implementationOnly import Testing
4+
import Testing
75
#endif
86

97
@_spi(Internals)

Sources/MacroTesting/MacrosTestTrait.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
import SnapshotTesting
33
import SwiftSyntax
44
import SwiftSyntaxMacros
5-
// NB: We are importing only the implementation of Testing because that framework is not available
6-
// in Xcode UI test targets.
7-
@_implementationOnly import Testing
5+
import Testing
86

97
@_spi(Experimental)
108
extension Trait where Self == _MacrosTestTrait {

0 commit comments

Comments
 (0)