fix field is never read on postgres test (#1881)

This commit is contained in:
Keiji, Yoshimi 2022-06-01 08:56:12 +09:00 committed by GitHub
parent 56d5283ef4
commit fbee0655e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,