mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-26 01:58:47 +00:00
fix field is never read on postgres test (#1881)
This commit is contained in:
parent
56d5283ef4
commit
fbee0655e3
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user