From 8ac214b328deb7e873512d2a4f966affeb89a7a6 Mon Sep 17 00:00:00 2001 From: Julien Nioche Date: Sun, 3 Dec 2023 09:38:17 +0000 Subject: [PATCH] Fixed test - was using function now removed Signed-off-by: Julien Nioche --- src/lib.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 0f51e08..8804ac6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -338,10 +338,7 @@ mod tests { #[test] fn range_splitting() { - let start = parse("2023-01-01").unwrap(); - let end = parse("2023-12-31").unwrap(); - - let periods = split_periods(start, end); + let periods = normalise_dates("2022-12-01", &Option::Some("2023-02-01")); println!("{:?}", periods); } }