mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-114 Porting error in test causes crash; this only shows up after the Replaceable change for some reason. THIS FIX NEEDED TOGETHER WITH REPLACEABLE CHANGE.
X-SVN-Rev: 206
This commit is contained in:
parent
8f94f1e62c
commit
f6982fa107
1 changed files with 2 additions and 1 deletions
|
@ -315,8 +315,9 @@ void MessageFormatRegressionTest::Test4104976()
|
|||
UnicodeString("xyz"),
|
||||
UnicodeString("abc")
|
||||
};
|
||||
int32_t formats_length = sizeof(formats)/sizeof(formats[0]);
|
||||
UErrorCode status = U_ZERO_ERROR;
|
||||
ChoiceFormat *cf = new ChoiceFormat(limits, formats, status);
|
||||
ChoiceFormat *cf = new ChoiceFormat(limits, formats, formats_length);
|
||||
failure(status, "new ChoiceFormat");
|
||||
//try {
|
||||
log("Compares to null is always false, returned : ");
|
||||
|
|
Loading…
Add table
Reference in a new issue