mirror of
https://github.com/launchbadge/sqlx
synced 2024-09-20 14:21:57 +00:00
fix field is never read
on postgres test (#1881)
This commit is contained in:
parent
56d5283ef4
commit
fbee0655e3
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue