Fix typos

This commit is contained in:
Danny Moesch 2020-04-19 15:42:00 +02:00 committed by Mingshen Sun
parent 4c2693e2c7
commit f643a63fe1
2 changed files with 2 additions and 2 deletions

View file

@ -119,7 +119,7 @@ class PGPAgentTest: XCTestCase {
} }
} }
func testUnsettKeys() throws { func testUnsetKeys() throws {
try importKeys(ED25519.publicKey, ED25519.privateKey) try importKeys(ED25519.publicKey, ED25519.privateKey)
XCTAssert(pgpAgent.isPrepared) XCTAssert(pgpAgent.isPrepared)
XCTAssertEqual(try basicEncryptDecrypt(using: pgpAgent, keyID: ED25519.fingerprint), testData) XCTAssertEqual(try basicEncryptDecrypt(using: pgpAgent, keyID: ED25519.fingerprint), testData)

View file

@ -46,7 +46,7 @@ class PasswordGeneratorTest: XCTestCase {
} }
} }
func testGroupsAreNotcceptableForXKCDStyle() { func testGroupsAreNotAcceptableForXKCDStyle() {
var generator = PasswordGenerator(length: 15) var generator = PasswordGenerator(length: 15)
XCTAssertTrue(generator.isAcceptable(groups: 4)) XCTAssertTrue(generator.isAcceptable(groups: 4))