We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
public
1 parent 9c2ca2b commit ae1e843Copy full SHA for ae1e843
Sources/XCTest/Public/XCTestCase.swift
@@ -205,7 +205,7 @@ open class XCTestCase: XCTest {
205
/// Registers a block of teardown code to be run after the current test
206
/// method ends.
207
@available(macOS 12.0, *)
208
- open func addTeardownBlock(_ block: @Sendable @escaping () async throws -> Void) {
+ public func addTeardownBlock(_ block: @Sendable @escaping () async throws -> Void) {
209
teardownBlocksState.appendAsync(block)
210
}
211
0 commit comments