mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 06:24:16 +00:00
fixed cargo format check
This commit is contained in:
parent
03de69bcaa
commit
cc91986a42
1 changed files with 3 additions and 6 deletions
|
@ -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::<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);
|
||||
|
|
Loading…
Reference in a new issue