mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-10334 C vs. J differences when in lenient mode (remove windows specific debug code)
X-SVN-Rev: 34793
This commit is contained in:
parent
37e74533a6
commit
cfea276a2b
1 changed files with 2 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue