Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
availability annotation for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Jul 2, 2022
1 parent 59e8b8c commit 1340f95
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/OperationPlusTests/OperationQueueTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand All @@ -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()

Expand Down

0 comments on commit 1340f95

Please sign in to comment.