Skip to content

Commit

Permalink
fix: decimal for compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
jayy-lmao committed Aug 21, 2024
1 parent 8858671 commit 8a17fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/postgres/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ test_type!(_cube<Vec<sqlx::postgres::types::PgCube>>(Postgres,

#[cfg(any(postgres_14, postgres_15))]
test_type!(_point<Vec<sqlx::postgres::types::Pgpoint>>(Postgres,
"array[point(2,3),point(2.1,3.4)]" == vec![sqlx::postgres::types::PgPoint { x:2, y: 3 }, sqlx::postgres::types::PgPoint { x:2.1, y: 3.2 }],
"array[point(2,3),point(2.1,3.4)]" == vec![sqlx::postgres::types::PgPoint { x:2., y: 3. }, sqlx::postgres::types::PgPoint { x:2.1, y: 3.2 }],
"array[point(2.2,-3.4)]" == vec![sqlx::postgres::types::PgPoint(2.2, -3.4)],
));

Expand Down

0 comments on commit 8a17fc7

Please sign in to comment.