Skip to content

Commit

Permalink
Fix escaping test query
Browse files Browse the repository at this point in the history
  • Loading branch information
framp authored and mehcode committed Dec 19, 2020
1 parent 3a7fe4d commit c416c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/postgres/derives.rs
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ async fn test_from_row_with_rename_all() -> anyhow::Result<()> {
let mut conn = new::<Postgres>().await?;

let account: AccountKeyword = sqlx::query_as(
r#"SELECT * from (VALUES (1, 'foo', 'bar')) accounts(\"userId\", \"userName\", \"userSurname\")"#,
r#"SELECT * from (VALUES (1, 'foo', 'bar')) accounts("userId", "userName", "userSurname")"#,
)
.fetch_one(&mut conn)
.await?;
Expand Down

0 comments on commit c416c94

Please sign in to comment.