Skip to content

Commit

Permalink
fix: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Jun 23, 2024
1 parent 8502df9 commit 331a6cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion viz-core/tests/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ async fn handler() -> Result<()> {
)
.catch_unwind(|_: Box<dyn std::any::Any + Send>| async move { panic!("Custom Error 2") });

assert!(Handler::call(&aa, Request::new(Body::Empty)).await.is_ok());
let resp: Result<Response> = Handler::call(&aa, Request::new(Body::Empty)).await;
assert!(resp.is_ok());

let th = MyAround {
name: String::new(),
Expand Down

0 comments on commit 331a6cc

Please sign in to comment.