@@ -15,17 +15,18 @@ extension ExitTest {
15
15
/// A type representing the result of an exit test after it has exited and
16
16
/// returned control to the calling test function.
17
17
///
18
- /// Both ``expect(exitsWith:_:sourceLocation:performing:)`` and
19
- /// ``require(exitsWith:_:sourceLocation:performing:)`` return instances of
20
- /// this type.
18
+ /// Both ``expect(exitsWith:observing: _:sourceLocation:performing:)`` and
19
+ /// ``require(exitsWith:observing: _:sourceLocation:performing:)`` return
20
+ /// instances of this type.
21
21
public struct Result : Sendable {
22
22
/// The exit condition the exit test exited with.
23
23
///
24
24
/// When the exit test passes, the value of this property is equal to the
25
25
/// value of the `expectedExitCondition` argument passed to
26
- /// ``expect(exitsWith:_:sourceLocation:performing:)`` or to
27
- /// ``require(exitsWith:_:sourceLocation:performing:)``. You can compare two
28
- /// instances of ``ExitCondition`` with ``ExitCondition/==(lhs:rhs:)``.
26
+ /// ``expect(exitsWith:observing:_:sourceLocation:performing:)`` or to
27
+ /// ``require(exitsWith:observing:_:sourceLocation:performing:)``. You can
28
+ /// compare two instances of ``ExitCondition`` with
29
+ /// ``ExitCondition/==(lhs:rhs:)``.
29
30
public var exitCondition : ExitCondition
30
31
31
32
/// All bytes written to the standard output stream of the exit test before
@@ -47,8 +48,8 @@ extension ExitTest {
47
48
///
48
49
/// To enable gathering output from the standard output stream during an
49
50
/// exit test, pass `\.standardOutputContent` in the `observedValues`
50
- /// argument of ``expect(exitsWith:_:sourceLocation:performing:)`` or
51
- /// ``require(exitsWith:_:sourceLocation:performing:)``.
51
+ /// argument of ``expect(exitsWith:observing: _:sourceLocation:performing:)``
52
+ /// or ``require(exitsWith:observing :_:sourceLocation:performing:)``.
52
53
///
53
54
/// If the exit test could not be started or if you did not request standard
54
55
/// output content, the value of this property is the empty array.
@@ -73,8 +74,8 @@ extension ExitTest {
73
74
///
74
75
/// To enable gathering output from the standard error stream during an exit
75
76
/// test, pass `\.standardErrorContent` in the `observedValues` argument of
76
- /// ``expect(exitsWith:_:sourceLocation:performing:)`` or
77
- /// ``require(exitsWith:_:sourceLocation:performing:)``.
77
+ /// ``expect(exitsWith:observing: _:sourceLocation:performing:)`` or
78
+ /// ``require(exitsWith:observing: _:sourceLocation:performing:)``.
78
79
///
79
80
/// If the exit test could not be started or if you did not request standard
80
81
/// error content, the value of this property is the empty array.
0 commit comments