Skip to content

Commit

Permalink
test: clippy dependency on unit never type fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Jun 15, 2024
1 parent 238d97b commit 6cfd8fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 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() -> Result<()> {
async fn it_works() {
#[derive(thiserror::Error, Debug)]
enum CustomError {
#[error("not found 233")]
Expand Down Expand Up @@ -320,9 +320,9 @@ async fn handler() -> Result<()> {
assert!(!y.is_empty());

assert!(!v.is_empty());

Ok(())
}

it_works().await
it_works().await;

Ok(())
}

0 comments on commit 6cfd8fd

Please sign in to comment.