Skip to content

Commit f7638c7

Browse files
committed
Document
1 parent 5241b79 commit f7638c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/XCTestDynamicOverlay/XCTUnimplemented.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ public func XCTUnimplemented<A, B, C, D, E>(
7272
/// - Parameters:
7373
/// - description: An optional description of the unimplemented closure, for inclusion in test
7474
/// results.
75-
/// - placeholder: A placeholder value returned from the closure.
75+
/// - placeholder: An optional placeholder value returned from the closure. If omitted, calling
76+
/// the closure will fatal error instead.
7677
/// - Returns: A closure that generates a failure when invoked.
7778
@_disfavoredOverload
7879
public func XCTUnimplemented<Result>(

0 commit comments

Comments
 (0)