diff --git a/tests/postgres/postgres.rs b/tests/postgres/postgres.rs index a18776c1..4e5b107c 100644 --- a/tests/postgres/postgres.rs +++ b/tests/postgres/postgres.rs @@ -216,8 +216,8 @@ async fn it_can_return_interleaved_nulls_issue_104() -> anyhow::Result<()> { let mut conn = new::().await?; let tuple = sqlx::query("SELECT NULL, 10::INT, NULL, 20::INT, NULL, 40::INT, NULL, 80::INT") - .try_map(|row: PgRow| { - Ok(( + .map(|row: PgRow| { + ( row.get::, _>(0), row.get::, _>(1), row.get::, _>(2), @@ -226,7 +226,7 @@ async fn it_can_return_interleaved_nulls_issue_104() -> anyhow::Result<()> { row.get::, _>(5), row.get::, _>(6), row.get::, _>(7), - )) + ) }) .fetch_one(&mut conn) .await?;