From b6b3e89231a623441940889b5badd90f74bdce2b Mon Sep 17 00:00:00 2001 From: Frank Tang Date: Mon, 18 Sep 2023 20:20:42 -0700 Subject: [PATCH] ICU-22512 Fix broken TestHebrewCalendarInTemporalLeapYear Fix broken test mistakenly landed in https://github.com/unicode-org/icu/pull/2274 Some important steps were missed in the last landing. --- icu4c/source/test/intltest/caltest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/icu4c/source/test/intltest/caltest.cpp b/icu4c/source/test/intltest/caltest.cpp index 9d89f468eef0..18b96f231ba3 100644 --- a/source/test/intltest/caltest.cpp +++ b/source/test/intltest/caltest.cpp @@ -4028,6 +4028,7 @@ void CalendarTest::TestHebrewCalendarInTemporalLeapYear() { for (gc.set(startYear, UCAL_JANUARY, 1); gc.get(UCAL_YEAR, status) <= stopYear; gc.add(UCAL_DATE, incrementDays, status)) { + cal->setTime(gc.getTime(status), status); if (failure(status, "add/get/set/getTime/setTime incorrect")) return; int32_t cal_year = cal->get(UCAL_EXTENDED_YEAR, status); @@ -4036,6 +4037,7 @@ void CalendarTest::TestHebrewCalendarInTemporalLeapYear() { leapTest->set(UCAL_MONTH, 0); leapTest->set(UCAL_DATE, 1); // If 10 months after TISHRI is TAMUZ, then it is a leap year. + leapTest->add(UCAL_MONTH, 10, status); hasLeapMonth = leapTest->get(UCAL_MONTH, status) == icu::HebrewCalendar::TAMUZ; yearForHasLeapMonth = cal_year; } ethod='get' action='/guix/log/gnu/packages/mastodon.scm'>
path: root/gnu/packages/mastodon.scm
AgeCommit message (Expand)Author
2020-04-16gnu: toot: Update to 0.26.0....* gnu/packages/mastodon.scm (toot): Update to 0.26.0. Efraim Flashner
2020-04-01gnu: toot: Adjust custom phases....* gnu/packages/mastodon.scm (toot)[arguments]: 'check is already run after 'install so replace 'check rather than re-inserting it. Efraim Flashner
2020-04-01gnu: toot: Update to 0.25.2....* gnu/packages/mastodon.scm (toot): Update to 0.25.2. Efraim Flashner
2019-12-03gnu: toot: Make propagated-inputs regular inputs....* gnu/packages/mastodon.scm (toot)[propagated-inputs]: Move all ... [inputs]: ... here. Efraim Flashner
2019-12-03gnu: toot: Add missing input....* gnu/packages/mastodon.scm (toot)[propagated-inputs]: Add python-urwid. Efraim Flashner
2019-12-01gnu: toot: Update to 0.24.0....* gnu/packages/mastodon.scm (toot): Update to 0.24.0. [arguments]: Remove obsolete ‘dont-install-Makefile’ phase. Tobias Geerinckx-Rice
2019-06-25gnu: toot: Don't install the Makefile....* gnu/packages/mastodon.scm (toot)[arguments]: Add custom phase to prevent installing data_files. Efraim Flashner