mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-04-15 00:40:13 +00:00
format: run rustfmt
This commit is contained in:
committed by
Ryan Leckey
parent
5e452d9e86
commit
6b036055e5
@@ -196,12 +196,18 @@ async fn it_describes_left_join() -> anyhow::Result<()> {
|
||||
assert_eq!(d.column(0).type_info().name(), "INTEGER");
|
||||
assert_eq!(d.nullable(0), Some(false));
|
||||
|
||||
let d = conn.describe("select tweet.id from accounts left join tweet on owner_id = accounts.id").await?;
|
||||
let d = conn
|
||||
.describe("select tweet.id from accounts left join tweet on owner_id = accounts.id")
|
||||
.await?;
|
||||
|
||||
assert_eq!(d.column(0).type_info().name(), "INTEGER");
|
||||
assert_eq!(d.nullable(0), Some(true));
|
||||
|
||||
let d = conn.describe("select tweet.id, accounts.id from accounts left join tweet on owner_id = accounts.id").await?;
|
||||
let d = conn
|
||||
.describe(
|
||||
"select tweet.id, accounts.id from accounts left join tweet on owner_id = accounts.id",
|
||||
)
|
||||
.await?;
|
||||
|
||||
assert_eq!(d.column(0).type_info().name(), "INTEGER");
|
||||
assert_eq!(d.nullable(0), Some(true));
|
||||
@@ -209,7 +215,11 @@ async fn it_describes_left_join() -> anyhow::Result<()> {
|
||||
assert_eq!(d.column(1).type_info().name(), "INTEGER");
|
||||
assert_eq!(d.nullable(1), Some(false));
|
||||
|
||||
let d = conn.describe("select tweet.id, accounts.id from accounts inner join tweet on owner_id = accounts.id").await?;
|
||||
let d = conn
|
||||
.describe(
|
||||
"select tweet.id, accounts.id from accounts inner join tweet on owner_id = accounts.id",
|
||||
)
|
||||
.await?;
|
||||
|
||||
assert_eq!(d.column(0).type_info().name(), "INTEGER");
|
||||
assert_eq!(d.nullable(0), Some(false));
|
||||
|
||||
Reference in New Issue
Block a user