mirror of
https://github.com/isar/rusqlite.git
synced 2025-04-04 14:32:57 +08:00
Fix test coverage
This commit is contained in:
parent
e1cc3019af
commit
cad456575e
@ -130,7 +130,7 @@ mod test {
|
|||||||
let v: DateTime = db.one_column("SELECT b FROM foo")?;
|
let v: DateTime = db.one_column("SELECT b FROM foo")?;
|
||||||
assert_eq!(dt, v);
|
assert_eq!(dt, v);
|
||||||
|
|
||||||
let r: Result<Time> = db.one_column("SELECT '2023-02-29T00:00:00'");
|
let r: Result<DateTime> = db.one_column("SELECT '2023-02-29T00:00:00'");
|
||||||
assert!(r.is_err());
|
assert!(r.is_err());
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user