Skip to content

Commit 375f6af

Browse files
committed
Rebase on jgrynspan/exit-test-result-optional
1 parent 9114a83 commit 375f6af

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

Sources/Testing/ExitTests/ExitTestArtifacts.swift

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
/// A type representing the result of an exit test after it has exited and
1212
/// returned control to the calling test function.
1313
///
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.
1717
///
1818
/// - Warning: The name of this type is still unstable and subject to change.
1919
@_spi(Experimental)
@@ -25,9 +25,10 @@ public struct ExitTestArtifacts: Sendable {
2525
///
2626
/// When the exit test passes, the value of this property is equal to the
2727
/// 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/==(_:_:)``.
3132
public var exitCondition: ExitCondition
3233

3334
/// All bytes written to the standard output stream of the exit test before
@@ -52,8 +53,8 @@ public struct ExitTestArtifacts: Sendable {
5253
/// argument of ``expect(exitsWith:observing:_:sourceLocation:performing:)``
5354
/// or ``require(exitsWith:observing:_:sourceLocation:performing:)``.
5455
///
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.
5758
public var standardOutputContent = [UInt8]()
5859

5960
/// All bytes written to the standard error stream of the exit test before
@@ -78,8 +79,8 @@ public struct ExitTestArtifacts: Sendable {
7879
/// ``expect(exitsWith:observing:_:sourceLocation:performing:)`` or
7980
/// ``require(exitsWith:observing:_:sourceLocation:performing:)``.
8081
///
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.
8384
public var standardErrorContent = [UInt8]()
8485

8586
@_spi(ForToolsIntegrationOnly)

0 commit comments

Comments
 (0)