mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 14:34:19 +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)
|
.fetch_one(&mut conn)
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
|
assert_eq!(1, account.id);
|
||||||
assert_eq!(None, account.name);
|
assert_eq!(None, account.name);
|
||||||
|
|
||||||
println!("{:?}", account);
|
println!("{:?}", account);
|
||||||
|
@ -301,6 +302,7 @@ async fn query_by_bigdecimal() -> anyhow::Result<()> {
|
||||||
|
|
||||||
#[sqlx_macros::test]
|
#[sqlx_macros::test]
|
||||||
async fn test_nullable_err() -> anyhow::Result<()> {
|
async fn test_nullable_err() -> anyhow::Result<()> {
|
||||||
|
#[allow(dead_code)]
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
struct Account {
|
struct Account {
|
||||||
id: i32,
|
id: i32,
|
||||||
|
|
Loading…
Reference in a new issue