Skip to content

Commit 7a6ff7f

Browse files
committed
cargo fmt
1 parent 3cecc8e commit 7a6ff7f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/cargo/sources/git/known_hosts.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,12 @@ mod tests {
867867
SshHostKeyType::Ed255219,
868868
&khs[0].key,
869869
) {
870-
Err(KnownHostError::HostKeyRevoked { hostname, remote_host_key, location, .. }) => {
870+
Err(KnownHostError::HostKeyRevoked {
871+
hostname,
872+
remote_host_key,
873+
location,
874+
..
875+
}) => {
871876
assert_eq!("example.com", hostname);
872877
assert_eq!(
873878
"AAAAC3NzaC1lZDI1NTE5AAAAIKVYJpa0yUGaNk0NXQTPWa0tHjqRpx+7hl2diReH6DtR",
@@ -877,7 +882,7 @@ mod tests {
877882
location,
878883
KnownHostLocation::File { lineno: 4, .. }
879884
));
880-
},
885+
}
881886
_ => panic!("Expected host key to be reject with error HostKeyRevoked."),
882887
}
883888
}

0 commit comments

Comments
 (0)