From 184a009c171a54822edd3c0a635f9d07de0c54ea Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Thu, 19 Dec 2024 12:11:14 +0100 Subject: [PATCH] Fix tests --- crates/bitwarden-ssh/src/import.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bitwarden-ssh/src/import.rs b/crates/bitwarden-ssh/src/import.rs index f24c2d47..4ad17651 100644 --- a/crates/bitwarden-ssh/src/import.rs +++ b/crates/bitwarden-ssh/src/import.rs @@ -188,7 +188,7 @@ mod tests { fn import_wrong_label_error() { let private_key = include_str!("../resources/import/wrong_label"); let result = import_key(private_key.to_string(), Some("".to_string())); - assert_eq!(result.unwrap_err(), SshKeyImportError::ParsingError); + assert_eq!(result.unwrap_err(), SshKeyImportError::UnsupportedKeyType); } #[test]