Skip to content

Commit

Permalink
fixany f64 test on mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed Aug 11, 2023
1 parent 38c5917 commit 4faed4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/any/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async fn it_has_all_the_types() -> anyhow::Result<()> {
get_val::<String>("'hello world'").await?
);
assert_eq!(None, get_val::<Option<i32>>("NULL").await?);
assert_eq!(6.5, get_val::<f64>("CAST(6.5 AS DOUBLE PRECISION)").await?);
assert_eq!(1e-40, get_val::<f64>("1e-40").await?);
Ok(())
}

Expand Down

0 comments on commit 4faed4a

Please sign in to comment.