keymgr: Fix wrong_key_type test.
The string representation of `SshKeyAlgorithm` on `main` changed between the time the tests were introduced and the time they were merged.
This commit is contained in:
parent
930ecc9eda
commit
4941a88494
|
@ -220,7 +220,11 @@ mod tests {
|
|||
|
||||
assert_eq!(
|
||||
err.to_string(),
|
||||
"Unexpected OpenSSH key type: wanted ssh-ed25519, found ssh-dss"
|
||||
format!(
|
||||
"Unexpected OpenSSH key type: wanted {}, found {}",
|
||||
SshKeyAlgorithm::Ed25519,
|
||||
SshKeyAlgorithm::Dsa
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue