Skip to content

Commit

Permalink
fix bigint test on mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed Aug 11, 2023
1 parent 0b2cb9b commit 42296cf
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 @@ -18,7 +18,7 @@ where
#[sqlx_macros::test]
async fn it_has_all_the_types() -> anyhow::Result<()> {
assert_eq!(6, get_val::<i32>("5 + 1").await?);
assert_eq!(6, get_val::<i64>("CAST(6 AS BIGINT)").await?);
assert_eq!(1234567890123, get_val::<i64>("1234567890123").await?);
assert_eq!(
"hello world".to_owned(),
get_val::<String>("'hello world'").await?
Expand Down

0 comments on commit 42296cf

Please sign in to comment.