Skip to content

Commit 1f0a4a5

Browse files
committed
tests/unhealthy_database: Replace unwrap() with ?
1 parent 369f047 commit 1f0a4a5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/tests/unhealthy_database.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ async fn download_requests_with_unhealthy_database_succeed() -> anyhow::Result<(
6060
CrateBuilder::new("foo", token.as_model().user_id)
6161
.version("1.0.0")
6262
.build(&mut conn)
63-
.await
64-
.unwrap();
63+
.await?;
6564

6665
app.primary_db_chaosproxy().break_networking()?;
6766

0 commit comments

Comments
 (0)