mirror of
https://github.com/tiffany352/rink-rs
synced 2024-11-10 13:44:15 +00:00
Test fractional seconds
This commit is contained in:
parent
77cfd49454
commit
ec3bc1273e
1 changed files with 2 additions and 2 deletions
|
@ -430,8 +430,8 @@ fn test_underscores_in_number() {
|
|||
|
||||
#[test]
|
||||
fn test_date_input() {
|
||||
let input = "#2018-10-04T09:13:25 +2:00#";
|
||||
let expected = "2018-10-04 11:13:25 +02:00";
|
||||
let input = "#2018-10-04T09:13:25.123 +2:00#";
|
||||
let expected = "2018-10-04 11:13:25.123 +02:00";
|
||||
|
||||
let mut iter = text_query::TokenIterator::new(input.trim()).peekable();
|
||||
let expr = text_query::parse_query(&mut iter);
|
||||
|
|
Loading…
Reference in a new issue