Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
quexten committed Sep 24, 2024
1 parent 32ae619 commit a687404
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions crates/bitwarden-vault/src/cipher/cipher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,10 @@ mod tests {
collection_ids: vec![],
r#type: CipherType::SshKey,
key: None,
name: "My test ssh key".to_string().encrypt_with_key(&key).unwrap(),
name: "My test ssh key"
.to_string()
.encrypt_with_key(&key)
.unwrap(),
notes: None,
login: None,
identity: None,
Expand All @@ -1223,6 +1226,6 @@ mod tests {
revision_date: "2024-01-01T00:00:00.000Z".parse().unwrap(),
};
let subtitle = ssh_key_cipher.get_decrypted_subtitle(&key).unwrap();
assert_eq!(subtitle, original_subtitle);
assert_eq!(subtitle, original_subtitle);
}
}

0 comments on commit a687404

Please sign in to comment.