1
0
mirror of https://github.com/bspeice/dtparse synced 2025-07-01 05:46:14 -04:00

Merge branch 'master' into fuzzy_dates

This commit is contained in:
Bradlee Speice
2018-07-08 22:01:14 -04:00
3 changed files with 24 additions and 12 deletions

View File

@ -14,4 +14,6 @@ fn test_fuzz() {
let mut p = Parser::default();
let res = p.parse("\x0D\x31", None, None, false, false, Some(&default), false, HashMap::new()).unwrap();
assert_eq!(res.0, default);
}
assert_eq!(parse("\x2D\x2D\x32\x31\x38\x6D"), Err(ParseError::ImpossibleTimestamp("Invalid minute")));
}