From 64a1f4fabfd9eaf44217725081a881cdb1437f1c Mon Sep 17 00:00:00 2001 From: Rollie Ma Date: Fri, 10 Nov 2023 17:17:28 -0800 Subject: [PATCH] wip --- dateparser/src/datetime.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dateparser/src/datetime.rs b/dateparser/src/datetime.rs index 725313b..441e054 100644 --- a/dateparser/src/datetime.rs +++ b/dateparser/src/datetime.rs @@ -803,7 +803,7 @@ mod tests { fn unix_timestamp() { let parse = Parse::new(&Utc, None); - let test_cases = vec![ + let test_cases = [ ("0000000000", Utc.ymd(1970, 1, 1).and_hms(0, 0, 0)), ("0000000000000", Utc.ymd(1970, 1, 1).and_hms(0, 0, 0)), ("0000000000000000000", Utc.ymd(1970, 1, 1).and_hms(0, 0, 0)),