Merge branch 'fix-keymgr-tests' into 'main'

keymgr: Fix `wrong_key_type` test.

Closes #938

See merge request tpo/core/arti!1341
This commit is contained in:
Nick Mathewson 2023-06-29 14:49:04 +00:00
commit a4a0a6348b
1 changed files with 5 additions and 1 deletions

View File

@ -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
)
);
}