From cc91986a427954035808fe3a127b1e2066fb374d 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 164454fd6..26ab3c9af 100644 --- a/tests/postgres/derives.rs +++ b/tests/postgres/derives.rs @@ -650,7 +650,6 @@ async fn test_flatten() -> anyhow::Result<()> { Ok(()) } - #[cfg(feature = "macros")] #[sqlx_macros::test] async fn test_skip() -> anyhow::Result<()> { @@ -668,11 +667,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);