Skip to content

Commit 605506a

Browse files
committed
Fix format
1 parent fc2cb00 commit 605506a

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/cargo/sources/git/known_hosts.rs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -831,9 +831,17 @@ mod tests {
831831
SshHostKeyType::Ed255219,
832832
&khs[0].key,
833833
) {
834-
Err(KnownHostError::HostKeyHasChanged { hostname, old_known_host, remote_host_key, .. }) => {
834+
Err(KnownHostError::HostKeyHasChanged {
835+
hostname,
836+
old_known_host,
837+
remote_host_key,
838+
..
839+
}) => {
835840
assert_eq!("example.com", hostname);
836-
assert_eq!("AAAAC3NzaC1lZDI1NTE5AAAAIAWkjI6XT2SZh3xNk5NhisA3o3sGzWR+VAKMSqHtI0aY", remote_host_key);
841+
assert_eq!(
842+
"AAAAC3NzaC1lZDI1NTE5AAAAIAWkjI6XT2SZh3xNk5NhisA3o3sGzWR+VAKMSqHtI0aY",
843+
remote_host_key
844+
);
837845
assert!(matches!(
838846
old_known_host.location,
839847
KnownHostLocation::File { lineno: 5, .. }

0 commit comments

Comments
 (0)