瀏覽代碼

Fixed issue where TLS tests were failing on iOS 10.0 and not on iOS 10.1.

Christian Noon 9 年之前
父節點
當前提交
e3063b5704
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Tests/TLSEvaluationTests.swift

+ 2 - 2
Tests/TLSEvaluationTests.swift

@@ -295,7 +295,7 @@ class TLSEvaluationExpiredLeafCertificateTestCase: BaseTestCase {
 
         // Then
     #if os(iOS) || os(macOS)
-        if #available(iOS 10.0, macOS 10.12.0, *) {
+        if #available(iOS 10.1, macOS 10.12.0, *) {
             XCTAssertNotNil(error, "error should not be nil")
         } else {
             XCTAssertNil(error, "error should be nil")
@@ -423,7 +423,7 @@ class TLSEvaluationExpiredLeafCertificateTestCase: BaseTestCase {
 
         // Then
     #if os(iOS) || os(macOS)
-        if #available(iOS 10.0, macOS 10.12.0, *) {
+        if #available(iOS 10.1, macOS 10.12.0, *) {
             XCTAssertNotNil(error, "error should not be nil")
         } else {
             XCTAssertNil(error, "error should be nil")