From 696e8604c799e90af28e5022fdff230954caf67f Mon Sep 17 00:00:00 2001 From: Rachel Brindle Date: Mon, 18 Mar 2024 20:30:01 -0700 Subject: [PATCH] Make MatcherResult conform to Sendable (#1132) * Make FailureMessage sendable. * Make MatcherResult conform to Sendable --- Sources/Nimble/Matchers/Matcher.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Nimble/Matchers/Matcher.swift b/Sources/Nimble/Matchers/Matcher.swift index 8f31e1ca0..376be7a89 100644 --- a/Sources/Nimble/Matchers/Matcher.swift +++ b/Sources/Nimble/Matchers/Matcher.swift @@ -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