From 3a7fe4da9472cedfdc1e07878887a3ee3d281c2c Mon Sep 17 00:00:00 2001 From: Federico Rampazzo Date: Sat, 28 Nov 2020 02:32:04 +0000 Subject: [PATCH] Fix more typos --- tests/postgres/derives.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/postgres/derives.rs b/tests/postgres/derives.rs index 1bea0c96..dc57f2d3 100644 --- a/tests/postgres/derives.rs +++ b/tests/postgres/derives.rs @@ -486,7 +486,7 @@ async fn test_from_row_with_rename_all() -> anyhow::Result<()> { let mut conn = new::().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?; @@ -494,7 +494,7 @@ async fn test_from_row_with_rename_all() -> anyhow::Result<()> { assert_eq!(1, account.user_id); assert_eq!("foo", account.user_name); - assert_eq!("bar8", account.user_surname); + assert_eq!("bar", account.user_surname); Ok(()) }