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 14, 2023
1 parent 70d9bcb commit b937b61
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 b937b61

Please sign in to comment.