From 1340f95dce3e93d742497d88db18f8676f4badf4 Mon Sep 17 00:00:00 2001 From: Matt <85322+mattmassicotte@users.noreply.github.com> Date: Sat, 2 Jul 2022 06:18:57 -0400 Subject: [PATCH] availability annotation for tests --- Tests/OperationPlusTests/OperationQueueTests.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tests/OperationPlusTests/OperationQueueTests.swift b/Tests/OperationPlusTests/OperationQueueTests.swift index b46e8ac..183f56c 100644 --- a/Tests/OperationPlusTests/OperationQueueTests.swift +++ b/Tests/OperationPlusTests/OperationQueueTests.swift @@ -146,6 +146,7 @@ class OperationQueueTests: XCTestCase { XCTAssertTrue(opC.dependencies.contains(opB)) } + @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *) func testAddOperationAsync() { let queue = OperationQueue() @@ -160,6 +161,7 @@ class OperationQueueTests: XCTestCase { wait(for: [expectation], timeout: 0.5) } + @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *) func testAddResultOperationAsync() async throws { let queue = OperationQueue()