Projects
Mega:23.09
icu
_service:tar_scm:backport-Fix-broken-TestHebrew...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:backport-Fix-broken-TestHebrewCalendarInTemporalLeapYear.patch of Package icu
From b6b3e89231a623441940889b5badd90f74bdce2b Mon Sep 17 00:00:00 2001 From: Frank Tang <ftang@chromium.org> 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. --- source/test/intltest/caltest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/test/intltest/caltest.cpp b/source/test/intltest/caltest.cpp index 7518f11..ab63e75 100644 --- a/source/test/intltest/caltest.cpp +++ b/source/test/intltest/caltest.cpp @@ -4006,6 +4006,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; } -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2