diff --git a/tests/postgres/macros.rs b/tests/postgres/macros.rs index 51d1f89b..53e91b1c 100644 --- a/tests/postgres/macros.rs +++ b/tests/postgres/macros.rs @@ -130,6 +130,7 @@ async fn test_query_as() -> anyhow::Result<()> { .fetch_one(&mut conn) .await?; + assert_eq!(1, account.id); assert_eq!(None, account.name); println!("{:?}", account); @@ -301,6 +302,7 @@ async fn query_by_bigdecimal() -> anyhow::Result<()> { #[sqlx_macros::test] async fn test_nullable_err() -> anyhow::Result<()> { + #[allow(dead_code)] #[derive(Debug)] struct Account { id: i32,