mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 14:34:19 +00:00
postgres: remove old commented out test
This commit is contained in:
parent
f337f1c602
commit
81bf390678
1 changed files with 0 additions and 25 deletions
|
@ -81,28 +81,3 @@ mod chrono {
|
|||
)
|
||||
));
|
||||
}
|
||||
|
||||
// #[cfg_attr(feature = "runtime-async-std", async_std::test)]
|
||||
// #[cfg_attr(feature = "runtime-tokio", tokio::test)]
|
||||
// async fn postgres_chrono_timestamp_tz() -> anyhow::Result<()> {
|
||||
// let mut conn = connect().await?;
|
||||
//
|
||||
// let value = DateTime::<Utc>::from_utc(
|
||||
// NaiveDate::from_ymd(2019, 1, 2).and_hms_micro(5, 10, 20, 115100),
|
||||
// Utc,
|
||||
// );
|
||||
//
|
||||
// let row = sqlx::query(
|
||||
// "SELECT TIMESTAMPTZ '2019-01-02 05:10:20.115100' = $1, TIMESTAMPTZ '2019-01-02 05:10:20.115100'",
|
||||
// )
|
||||
// .bind(&value)
|
||||
// .fetch_one(&mut conn)
|
||||
// .await?;
|
||||
//
|
||||
// assert!(row.get::<bool, _>(0));
|
||||
//
|
||||
// let out: DateTime<Utc> = row.get(1);
|
||||
// assert_eq!(value, out);
|
||||
//
|
||||
// Ok(())
|
||||
// }
|
||||
|
|
Loading…
Reference in a new issue