Sfoglia il codice sorgente

Also, fixed a spelling on Status Internal message in the test case.

kishikawa katsumi 9 anni fa
parent
commit
5f0202e076
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Lib/KeychainAccessTests/ErrorTypeTests.swift

+ 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 {