Skip to content

Commit 86e571d

Browse files
committed
chore(network): apply rustfmt to http handler timeout test
1 parent b74fbdc commit 86e571d

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎crates/bashkit/src/network/client.rs‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,12 @@ mod tests {
989989
.request_with_timeouts(Method::Get, "https://example.com", None, &[], Some(1), None)
990990
.await;
991991
assert!(result.is_err());
992-
assert!(result.unwrap_err().to_string().contains("operation timed out"));
992+
assert!(
993+
result
994+
.unwrap_err()
995+
.to_string()
996+
.contains("operation timed out")
997+
);
993998
}
994999

9951000
// Note: Integration tests that actually make network requests

0 commit comments

Comments
 (0)