ICU-9019 fix test err

X-SVN-Rev: 31471
This commit is contained in:
Steven R. Loomis 2012-02-21 16:50:43 +00:00
parent 1641940f00
commit 6e036d0ca4

View File

@ -203,6 +203,10 @@ CalendarRegressionTest::Test9019()
UErrorCode status = U_ZERO_ERROR;
LocalPointer<GregorianCalendar> cal1(new GregorianCalendar(status));
LocalPointer<GregorianCalendar> cal2(new GregorianCalendar(status));
cal1->set(UCAL_HOUR, 1);
cal2->set(UCAL_HOUR,2);
cal1->clear();
cal2->clear();
if(U_FAILURE(status)) {
dataerrln("Error creating Calendar: %s", u_errorName(status));
return;