Skip to content

Commit

Permalink
fix: remove line array test
Browse files Browse the repository at this point in the history
  • Loading branch information
jayy-lmao committed Dec 4, 2024
1 parent d76822f commit 43d946a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/postgres/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -509,11 +509,6 @@ test_type!(line<sqlx::postgres::types::PgLine>(Postgres,
"line('((0.0, 0.0), (1.0,1.0))')" == sqlx::postgres::types::PgLine { a: 1., b: -1., c: 0. },
));

#[cfg(any(postgres_12, postgres_13, postgres_14, postgres_15))]
test_type!(_line<Vec<sqlx::postgres::types::PgLine>>(Postgres,
"array[line('{1,2,3}'),line('{1.1, 2.2, 3.3}')]" == vec![sqlx::postgres::types::PgLine { a:1., b: 2., c: 3. }, sqlx::postgres::types::PgLine { a:1.1, b: 2.2, c: 3.3 }],
));

#[cfg(feature = "rust_decimal")]
test_type!(decimal<sqlx::types::Decimal>(Postgres,
"0::numeric" == sqlx::types::Decimal::from_str("0").unwrap(),
Expand Down

0 comments on commit 43d946a

Please sign in to comment.