Skip to content

Commit

Permalink
fixed cargo format check
Browse files Browse the repository at this point in the history
  • Loading branch information
grgi committed Feb 18, 2023
1 parent da46009 commit 07f3f81
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/postgres/derives.rs
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,6 @@ async fn test_flatten() -> anyhow::Result<()> {
Ok(())
}


#[cfg(feature = "macros")]
#[sqlx_macros::test]
async fn test_skip() -> anyhow::Result<()> {
Expand All @@ -633,11 +632,9 @@ async fn test_skip() -> anyhow::Result<()> {

let mut conn = new::<Postgres>().await?;

let account: AccountKeyword = sqlx::query_as(
r#"SELECT * from (VALUES (1)) accounts("id")"#,
)
.fetch_one(&mut conn)
.await?;
let account: AccountKeyword = sqlx::query_as(r#"SELECT * from (VALUES (1)) accounts("id")"#)
.fetch_one(&mut conn)
.await?;
println!("{:?}", account);

assert_eq!(1, account.id);
Expand Down

0 comments on commit 07f3f81

Please sign in to comment.