From 61fb62efd5dec5c2dfa0487c294a662f9bf40cbd Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Wed, 13 Sep 2023 18:09:25 +0530 Subject: [PATCH] chore(tests): fix `he` test, updated crate name --- tests/he.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/he.rs b/tests/he.rs index 1c705f3..edf3469 100644 --- a/tests/he.rs +++ b/tests/he.rs @@ -1,8 +1,8 @@ extern crate chrono; -extern crate chrono_locale; +extern crate chrono_lc; use chrono::{FixedOffset, TimeZone, Timelike}; -use chrono_locale::LocaleDate; +use chrono_lc::LocaleDate; // This test is copied from chrono's, disabling unsupported features #[test] @@ -96,7 +96,7 @@ fn format_en_naive() { .with_nanosecond(1_026_490_708) .expect("out of bound"); let dt = dt.naive_local(); - let locale = "en"; + let locale = "he"; // date specifiers assert_eq!(dt.formatl("%Y", locale).to_string(), "2001");