From a1d83b775dd8549b2241c921ff42cd341ad40202 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Sun, 27 May 2018 14:23:53 -0400 Subject: [PATCH] Add some extra split test cases --- src/tests.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tests.rs b/src/tests.rs index e662cb5..5c3ee2b 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -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"]); } \ No newline at end of file