Skip to content

[ST-0008] Add missing conformances to CustomStringConvertible and Equatable #2789

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 12, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions proposals/testing/0008-exit-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ extension ExitTest {
/// - ``failure``
/// - ``exitCode(_:)``
/// - ``signal(_:)``
public struct Condition: Sendable {
public struct Condition: Sendable, CustomStringConvertible {
/// A condition that matches when a process terminates successfully with exit
/// code `EXIT_SUCCESS`.
///
Expand Down Expand Up @@ -351,7 +351,7 @@ by the `StatusAtExit` enumeration:
#if SWT_NO_PROCESS_SPAWNING
@available(*, unavailable, message: "Exit tests are not available on this platform.")
#endif
public enum StatusAtExit: Sendable {
public enum StatusAtExit: Sendable, Equatable, CustomStringConvertible {
/// The process terminated with the given exit code.
///
/// [...]
Expand Down