Skip to content

Commit

Permalink
test: Remove unnecessary check for macOS 10.12 (#2987)
Browse files Browse the repository at this point in the history
As the minimum macOS version is 10.13, we can remove this unnecessary check for macOS 10.12.
  • Loading branch information
philipphofmann authored May 3, 2023
1 parent 3a01b17 commit 03d9eb5
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@ class SentryConcurrentRateLimitsDictionaryTests: XCTestCase {
}
}

// Even if we don't run this test below OSX 10.12 we expect the actual
// implementation to be thread safe.
@available(OSX 10.12, *)
private func getCategory(rawValue: NSNumber) -> SentryDataCategory {
func failedToCreateCategory() -> SentryDataCategory {
XCTFail("Could not create category from \(rawValue)")
Expand Down

0 comments on commit 03d9eb5

Please sign in to comment.