Skip to content

Commit

Permalink
ci: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Jun 15, 2024
1 parent 6cfd8fd commit 984990b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions viz-core/tests/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async fn handler() -> Result<()> {
}
}

async fn it_works() {
async fn it_works() -> Result<()> {
#[derive(thiserror::Error, Debug)]
enum CustomError {
#[error("not found 233")]
Expand Down Expand Up @@ -320,9 +320,13 @@ async fn handler() -> Result<()> {
assert!(!y.is_empty());

assert!(!v.is_empty());

let _ = v.last().unwrap().call(Request::default()).await;

Ok(())
}

it_works().await;
let _: () = it_works().await?;

Ok(())
}

0 comments on commit 984990b

Please sign in to comment.