Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita7d9d1a

Browse files
committed
tests: fix typos
aphabetical -> alphabetical, ommititing -> omitting
1 parent3be37c4 commita7d9d1a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

‎tests/date.rs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,17 @@ fn test_absolute_date_numeric(#[case] input: &str, #[case] expected: &str) {
7373

7474
#[rstest]
7575
#[case::us_style("11/14",2022,"2022-11-14 00:00:00+00:00")]
76-
#[case::aphabetical_full_month_in_front("november 14",2022,"2022-11-14 00:00:00+00:00")]
77-
#[case::aphabetical_full_month_at_back("14 november",2022,"2022-11-14 00:00:00+00:00")]
78-
#[case::aphabetical_short_month_in_front("nov 14",2022,"2022-11-14 00:00:00+00:00")]
79-
#[case::aphabetical_short_month_at_back("14 nov",2022,"2022-11-14 00:00:00+00:00")]
80-
#[case::aphabetical_full_month_in_front("november 14",2022,"2022-11-14 00:00:00+00:00")]
81-
#[case::aphabetical_full_month_at_back("14 november",2022,"2022-11-14 00:00:00+00:00")]
82-
#[case::aphabetical_short_month_in_front("nov 14",2022,"2022-11-14 00:00:00+00:00")]
83-
#[case::aphabetical_short_month_at_back("14 nov",2022,"2022-11-14 00:00:00+00:00")]
84-
#[case::aphabetical_long_month_at_back_hyphen("14-november",2022,"2022-11-14 00:00:00+00:00")]
85-
#[case::aphabetical_short_month_at_back_hyphen("14-nov",2022,"2022-11-14 00:00:00+00:00")]
86-
fntest_date_ommititing_year(#[case]input:&str,#[case]year:u32,#[case]expected:&str){
76+
#[case::alphabetical_full_month_in_front("november 14",2022,"2022-11-14 00:00:00+00:00")]
77+
#[case::alphabetical_full_month_at_back("14 november",2022,"2022-11-14 00:00:00+00:00")]
78+
#[case::alphabetical_short_month_in_front("nov 14",2022,"2022-11-14 00:00:00+00:00")]
79+
#[case::alphabetical_short_month_at_back("14 nov",2022,"2022-11-14 00:00:00+00:00")]
80+
#[case::alphabetical_full_month_in_front("november 14",2022,"2022-11-14 00:00:00+00:00")]
81+
#[case::alphabetical_full_month_at_back("14 november",2022,"2022-11-14 00:00:00+00:00")]
82+
#[case::alphabetical_short_month_in_front("nov 14",2022,"2022-11-14 00:00:00+00:00")]
83+
#[case::alphabetical_short_month_at_back("14 nov",2022,"2022-11-14 00:00:00+00:00")]
84+
#[case::alphabetical_long_month_at_back_hyphen("14-november",2022,"2022-11-14 00:00:00+00:00")]
85+
#[case::alphabetical_short_month_at_back_hyphen("14-nov",2022,"2022-11-14 00:00:00+00:00")]
86+
fntest_date_omitting_year(#[case]input:&str,#[case]year:u32,#[case]expected:&str){
8787
use chrono::DateTime;
8888
use common::check_relative;
8989

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp