Skip to content

Commit 87f4168

Browse files
authored
Fix a symbol marked @_spi that's needed for exit test value capturing. (#1335)
I missed removing an `@_spi` attribute when enabling exit test value capturing for [ST-0012](https://github.com/swiftlang/swift-evolution/blob/main/proposals/testing/0012-exit-test-value-capturing.md). ### Checklist: - [x] Code and documentation should follow the style of the [Style Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md). - [x] If public symbols are renamed or modified, DocC references should be updated.
1 parent 0a38abb commit 87f4168

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Sources/Testing/Expectations/ExpectationChecking+Macro.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1175,7 +1175,6 @@ public func __checkClosureCall(
11751175
///
11761176
/// - Warning: This function is used to implement the `#expect()` and
11771177
/// `#require()` macros. Do not call it directly.
1178-
@_spi(Experimental)
11791178
public func __checkClosureCall<each T>(
11801179
identifiedBy exitTestID: (UInt64, UInt64, UInt64, UInt64),
11811180
encodingCapturedValues capturedValues: (repeat each T),

Tests/TestingTests/ExitTestTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// See https://swift.org/CONTRIBUTORS.txt for Swift project authors
99
//
1010

11-
@testable @_spi(Experimental) @_spi(ForToolsIntegrationOnly) import Testing
11+
@testable @_spi(ForToolsIntegrationOnly) import Testing
1212
private import _TestingInternals
1313

1414
#if !SWT_NO_EXIT_TESTS

0 commit comments

Comments
 (0)