Skip to content

Commit

Permalink
On tests, SSHKeyType was wrong for ed25519
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Cabanero authored and Carlos Cabanero committed Apr 5, 2021
1 parent b73e5e7 commit 479e7a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SSHTests/SSHKeysTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class SSHKeysTests: XCTestCase {

let key = try SSHKey(fromFile: keyPath, passphrase: "passphrase")
XCTAssertEqual(key.comment, "comment")
XCTAssertEqual(key.sshKeyType, SSHKeyType.KEY_ED25519)
XCTAssertEqual(key.sshKeyType, SSHKeyType.ed25519)

do {
_ = try SSHKey(fromFile: keyPath, passphrase: "wrong passphrase")
Expand Down

0 comments on commit 479e7a2

Please sign in to comment.