Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix build warning.
  • Loading branch information
tomusdrw committed Mar 31, 2021
commit 2b846341466068a39391fe1752594730ce2c4677
2 changes: 1 addition & 1 deletion core-client/transports/src/transports/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ mod tests {

if let Err(RpcError::Other(err)) = res {
if let Some(err) = err.downcast_ref::<hyper::Error>() {
assert!(err.is_connect(), format!("Expected Connection Error, got {:?}", err))
assert!(err.is_connect(), "Expected Connection Error, got {:?}", err)
} else {
panic!("Expected a hyper::Error")
}
Expand Down