Skip to content

Commit

Permalink
Make explicit that runtime precondition is executed on a async thread
Browse files Browse the repository at this point in the history
  • Loading branch information
Supereg committed Jul 11, 2024
1 parent 3c3392a commit f9b0c9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/XCTRuntimeAssertions/XCTRuntimePrecondition.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public func XCTRuntimePrecondition(
_ message: @autoclosure () -> String = "",
file: StaticString = #filePath,
line: UInt = #line,
_ expression: @escaping () -> Void
_ expression: @escaping @Sendable () -> Void
) throws {
let fulfillmentCount = Counter()
let xctRuntimeAssertionId = setupXCTRuntimeAssertionInjector(
Expand Down

0 comments on commit f9b0c9a

Please sign in to comment.