diff --git a/Package.swift b/Package.swift index df85b66..52340a0 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.8 +// swift-tools-version:6.0 import PackageDescription @@ -19,7 +19,6 @@ let package = Package( ) ], dependencies: [ - .package(url: "https://github.com/apple/swift-docc-plugin", exact: "1.2.0"), .package(url: "https://github.com/krzysztofzablocki/Difference", exact: "1.0.2") ], targets: [ diff --git a/Sources/XCTestExtension/Expectations/PublisherExpectation.swift b/Sources/XCTestExtension/Expectations/PublisherExpectation.swift index 1b37a60..f1253ed 100644 --- a/Sources/XCTestExtension/Expectations/PublisherExpectation.swift +++ b/Sources/XCTestExtension/Expectations/PublisherExpectation.swift @@ -2,7 +2,7 @@ import Combine import XCTest /// An expectation that is fulfilled when an `Option`'s `Predicate` for a `Publisher` is satisfied. -public class PublisherExpectation: XCTestExpectation where Publisher: Combine.Publisher { +public class PublisherExpectation: XCTestExpectation, @unchecked Sendable where Publisher: Combine.Publisher { private(set) var cancellables = [AnyCancellable]() private let observation: Observation