فهرست منبع

Merge branch 'aaadonai-aaadonai-patch-1'

kishikawa katsumi 9 سال پیش
والد
کامیت
eedd8e51db
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      Lib/KeychainAccess/Keychain.swift
  2. 1 1
      Lib/KeychainAccessTests/ErrorTypeTests.swift

+ 1 - 1
Lib/KeychainAccess/Keychain.swift

@@ -2167,7 +2167,7 @@ extension Status : RawRepresentable, CustomStringConvertible {
         case Decode:
             return "Unable to decode the provided data."
         case Internal:
-            return "An internal error occured in the Security framework."
+            return "An internal error occurred in the Security framework."
         case UnsupportedAlgorithm:
             return "An unsupported algorithm was encountered."
         case UnsupportedOperation:

+ 1 - 1
Lib/KeychainAccessTests/ErrorTypeTests.swift

@@ -346,7 +346,7 @@ class ErrorTypeTests: XCTestCase {
             let errSecInternal: OSStatus = -26276
             let status = Status(rawValue: errSecInternal)
             XCTAssertEqual(status, .Internal)
-            XCTAssertEqual(status?.description, "An internal error occured in the Security framework.")
+            XCTAssertEqual(status?.description, "An internal error occurred in the Security framework.")
         }
         #if os(OSX)
         do {