1
0
mirror of https://github.com/bspeice/dtparse synced 2024-12-22 04:18:09 -05:00

Add some extra split test cases

This commit is contained in:
Bradlee Speice 2018-05-27 14:23:53 -04:00
parent 17b8b8af36
commit a1d83b775d

View File

@ -25,4 +25,8 @@ fn test_split() {
test_split!(py, t, "24, 50, ABC", vec!["24", ",", " ", "50", ",", " ", "ABC"]);
test_split!(py, t, "2018.5.15", vec!["2018", ".", "5", ".", "15"]);
test_split!(py, t, "May 5, 2018", vec!["May", " ", "5", ",", " ", "2018"]);
test_split!(py, t, "Mar. 5, 2018", vec!["Mar", ".", " ", "5", ",", " ", "2018"]);
test_split!(py, t, "19990101T23", vec!["19990101", "T", "23"]);
test_split!(py, t, "19990101T2359", vec!["19990101", "T", "2359"]);
}