Skip to content

Commit

Permalink
fix any tests for mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed Aug 20, 2023
1 parent ec347d5 commit 5eeb386
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/any/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ async fn it_has_all_the_types() -> anyhow::Result<()> {
assert_eq!(12.5f64, get_val::<f64>("CAST(12.5 AS DECIMAL(9,2))").await?);
assert_eq!(
125125.125f64,
get_val::<f64>("CAST(125125.125 AS NUMERIC)").await?
get_val::<f64>("CAST(125125.125 AS DECIMAL(10,3))").await?
);
assert_eq!(
-1234567890.125,
get_val::<f64>("CAST(-1234567890.125 AS NUMERIC)").await?
get_val::<f64>("CAST(-1234567890.125 AS DECIMAL(15,3))").await?
);
Ok(())
}
Expand Down

0 comments on commit 5eeb386

Please sign in to comment.