Fix clippy + test errors (#3120)

This commit is contained in:
Zane
2025-06-27 10:43:56 -07:00
committed by GitHub
parent da253f1644
commit ee0ae10682
10 changed files with 60 additions and 58 deletions

View File

@@ -24,7 +24,7 @@ async fn main() -> Result<()> {
// Test broken transport
match test_transport(broken_stdio_transport().await?).await {
Ok(_) => assert!(false, "Expected an error but got success"),
Ok(_) => panic!("Expected an error but got success"),
Err(e) => {
assert!(e
.to_string()