Skip to content

Commit d527bd1

Browse files
authored
Merge pull request #2789 from swiftlang/jgrynspan/exit-test-conformances
[ST-0008] Add missing conformances to `CustomStringConvertible` and `Equatable`
2 parents 4b0e497 + fdfc786 commit d527bd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proposals/testing/0008-exit-tests.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ extension ExitTest {
274274
/// - ``failure``
275275
/// - ``exitCode(_:)``
276276
/// - ``signal(_:)``
277-
public struct Condition: Sendable {
277+
public struct Condition: Sendable, CustomStringConvertible {
278278
/// A condition that matches when a process terminates successfully with exit
279279
/// code `EXIT_SUCCESS`.
280280
///
@@ -351,7 +351,7 @@ by the `StatusAtExit` enumeration:
351351
#if SWT_NO_PROCESS_SPAWNING
352352
@available(*, unavailable, message: "Exit tests are not available on this platform.")
353353
#endif
354-
public enum StatusAtExit: Sendable {
354+
public enum StatusAtExit: Sendable, Equatable, CustomStringConvertible {
355355
/// The process terminated with the given exit code.
356356
///
357357
/// [...]

0 commit comments

Comments
 (0)