From f4803a77e3a6c6883497dd115092a04e0a87fd9e Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Mon, 18 Jul 2022 22:26:28 +0200 Subject: [PATCH] address review comment https://github.com/rust-lang/rustc-dev-guide/pull/1394#pullrequestreview-1042167261 --- ci/date-check/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/date-check/src/main.rs b/ci/date-check/src/main.rs index 20fb514c..bb92f019 100644 --- a/ci/date-check/src/main.rs +++ b/ci/date-check/src/main.rs @@ -186,7 +186,7 @@ mod tests { fn test_collect_dates_from_file() { let text = "Test1\nAs of Jan 2021\nTest2\nAs of Feb 2021 \ \nTest3\nTest4\nAs of march 2021Bar\nas of apr 2021 \ - \nTest5\nTest6\nTest7\n\n\nas of may 2021\nTest8 + \nTest5\nTest6\nTest7\n\n\nas of\n\n may 2021\nTest8 "; assert_eq!( collect_dates_from_file(&make_date_regex(), text), @@ -220,7 +220,7 @@ mod tests { } ), ( - 14, + 16, Date { year: 2021, month: 5,