11
11
/// A type representing the result of an exit test after it has exited and
12
12
/// returned control to the calling test function.
13
13
///
14
- /// Both ``expect(exitsWith:_:sourceLocation:performing:)`` and
15
- /// ``require(exitsWith:_:sourceLocation:performing:)`` return instances of
16
- /// this type.
14
+ /// Both ``expect(exitsWith:observing: _:sourceLocation:performing:)`` and
15
+ /// ``require(exitsWith:observing: _:sourceLocation:performing:)`` return
16
+ /// instances of this type.
17
17
///
18
18
/// - Warning: The name of this type is still unstable and subject to change.
19
19
@_spi ( Experimental)
@@ -25,9 +25,10 @@ public struct ExitTestArtifacts: Sendable {
25
25
///
26
26
/// When the exit test passes, the value of this property is equal to the
27
27
/// value of the `expectedExitCondition` argument passed to
28
- /// ``expect(exitsWith:_:sourceLocation:performing:)`` or to
29
- /// ``require(exitsWith:_:sourceLocation:performing:)``. You can compare two
30
- /// instances of ``ExitCondition`` with ``/Swift/Optional/==(_:_:)``.
28
+ /// ``expect(exitsWith:observing:_:sourceLocation:performing:)`` or to
29
+ /// ``require(exitsWith:observing:_:sourceLocation:performing:)``. You can
30
+ /// compare two instances of ``ExitCondition`` with
31
+ /// ``/Swift/Optional/==(_:_:)``.
31
32
public var exitCondition : ExitCondition
32
33
33
34
/// All bytes written to the standard output stream of the exit test before
@@ -52,8 +53,8 @@ public struct ExitTestArtifacts: Sendable {
52
53
/// argument of ``expect(exitsWith:observing:_:sourceLocation:performing:)``
53
54
/// or ``require(exitsWith:observing:_:sourceLocation:performing:)``.
54
55
///
55
- /// If the exit test could not be started or if you did not request standard
56
- /// output content, the value of this property is the empty array.
56
+ /// If you did not request standard output content when running an exit test,
57
+ /// the value of this property is the empty array.
57
58
public var standardOutputContent = [ UInt8] ( )
58
59
59
60
/// All bytes written to the standard error stream of the exit test before
@@ -78,8 +79,8 @@ public struct ExitTestArtifacts: Sendable {
78
79
/// ``expect(exitsWith:observing:_:sourceLocation:performing:)`` or
79
80
/// ``require(exitsWith:observing:_:sourceLocation:performing:)``.
80
81
///
81
- /// If the exit test could not be started or if you did not request standard
82
- /// error content, the value of this property is the empty array.
82
+ /// If you did not request standard error content when running an exit test,
83
+ /// the value of this property is the empty array.
83
84
public var standardErrorContent = [ UInt8] ( )
84
85
85
86
@_spi ( ForToolsIntegrationOnly)
0 commit comments