Skip to content

Commit

Permalink
Make MatcherResult conform to Sendable (#1132)
Browse files Browse the repository at this point in the history
* Make FailureMessage sendable.

* Make MatcherResult conform to Sendable
  • Loading branch information
younata committed Apr 11, 2024
1 parent 48073df commit 08e2632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Nimble/Matchers/Matcher.swift
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public enum ExpectationStyle: Sendable {

/// The value that a Matcher returns to describe if the given (actual) value matches the
/// matcher.
public struct MatcherResult {
public struct MatcherResult: Sendable {
/// Status indicates if the matcher matches, does not match, or fails.
public var status: MatcherStatus
/// The error message that can be displayed if it does not match
Expand Down

0 comments on commit 08e2632

Please sign in to comment.