ICU-10334 C vs. J differences when in lenient mode (remove windows specific debug code)

X-SVN-Rev: 34793
This commit is contained in:
Scott Russell 2013-12-18 20:48:43 +00:00
parent 37e74533a6
commit cfea276a2b

View file

@ -1567,11 +1567,8 @@ void DateFormatRegressionTest::TestT10334(void) {
format.applyPattern(pattern);
ParsePosition pp(0);
format.parse(text, pp);
int32_t errorIdx = pp.getErrorIndex();
if (errorIdx != -1) {
char buffer[256];
_snprintf(buffer, 256, "numeric parse error at[%d] on pattern char[%s]", errorIdx, &patternArray[errorIdx]);
errln(buffer);
if (pp.getErrorIndex() != -1) {
errln("numeric parse error");
}
status = U_ZERO_ERROR;