mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-29 21:52:12 +08:00
Comment out TZ sensitive tests.
This commit is contained in:
parent
df245d1718
commit
08d4d9aadf
@ -372,8 +372,8 @@ mod test {
|
|||||||
&[])
|
&[])
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
let s: String = db.query_row("SELECT t FROM chrono", &[], |r| r.get(0)).unwrap();
|
//let s: String = db.query_row("SELECT t FROM chrono", &[], |r| r.get(0)).unwrap();
|
||||||
assert_eq!("2016-02-23 23:56:04.000+01:00", s);
|
//assert_eq!("2016-02-23 23:56:04.000+01:00", s);
|
||||||
let v: DateTime<Local> = db.query_row("SELECT t FROM chrono", &[], |r| r.get(0)).unwrap();
|
let v: DateTime<Local> = db.query_row("SELECT t FROM chrono", &[], |r| r.get(0)).unwrap();
|
||||||
assert_eq!(local, v);
|
assert_eq!(local, v);
|
||||||
let i: DateTime<Local> = db.query_row("SELECT i FROM chrono", &[], |r| r.get(0)).unwrap();
|
let i: DateTime<Local> = db.query_row("SELECT i FROM chrono", &[], |r| r.get(0)).unwrap();
|
||||||
|
Loading…
Reference in New Issue
Block a user