From 07f3f81b35e641874fb25fa923a17818292e4d48 Mon Sep 17 00:00:00 2001 From: Gregor Giesen Date: Fri, 10 Feb 2023 13:40:37 +0100 Subject: [PATCH] fixed cargo format check --- tests/postgres/derives.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tests/postgres/derives.rs b/tests/postgres/derives.rs index 60fda03847..16a0f38119 100644 --- a/tests/postgres/derives.rs +++ b/tests/postgres/derives.rs @@ -615,7 +615,6 @@ async fn test_flatten() -> anyhow::Result<()> { Ok(()) } - #[cfg(feature = "macros")] #[sqlx_macros::test] async fn test_skip() -> anyhow::Result<()> { @@ -633,11 +632,9 @@ async fn test_skip() -> anyhow::Result<()> { let mut conn = new::().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);