mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 14:34:19 +00:00
fix "unused Result
that must be used" warnings (#1882)
This commit is contained in:
parent
a2691b9635
commit
56d5283ef4
1 changed files with 1 additions and 1 deletions
|
@ -976,7 +976,7 @@ async fn test_pg_listener_allows_pool_to_close() -> anyhow::Result<()> {
|
|||
let mut listener = PgListener::connect_with(&pool).await?;
|
||||
|
||||
sqlx_rt::spawn(async move {
|
||||
listener.recv().await;
|
||||
listener.recv().await.unwrap();
|
||||
});
|
||||
|
||||
// would previously hang forever since `PgListener` had no way to know the pool wanted to close
|
||||
|
|
Loading…
Reference in a new issue