ICU-13421 Force /tsformat/ccaltst/TestAmbiguousWallTime to use Gregorian calendar to fix test failure with locales not using Gregorian calnedar by default.

X-SVN-Rev: 41420
This commit is contained in:
Yoshito Umaoka 2018-05-21 00:18:25 +00:00
parent ca9ecef96e
commit 17ac0f4e61

View file

@ -1965,7 +1965,7 @@ void TestAmbiguousWallTime() {
UDate t, expected;
u_uastrcpy(tzID, "America/New_York");
ucal = ucal_open(tzID, -1, NULL, UCAL_DEFAULT, &status);
ucal = ucal_open(tzID, -1, "en_US", UCAL_DEFAULT, &status);
if (U_FAILURE(status)) {
log_err("FAIL: Failed to create a calendar");
return;