Skip to content

Commit

Permalink
add test for negative decimal o f64
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed Aug 12, 2023
1 parent 27e4371 commit ec347d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/any/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ async fn it_has_all_the_types() -> anyhow::Result<()> {
125125.125f64,
get_val::<f64>("CAST(125125.125 AS NUMERIC)").await?
);
assert_eq!(
-1234567890.125,
get_val::<f64>("CAST(-1234567890.125 AS NUMERIC)").await?
);
Ok(())
}

Expand Down

0 comments on commit ec347d5

Please sign in to comment.