mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-2789 add UErrorCode to getInclusions()/addPropertyStarts()
X-SVN-Rev: 11478
This commit is contained in:
parent
e3595f4ec6
commit
64e7e84da2
1 changed files with 8 additions and 1 deletions
|
@ -1761,8 +1761,15 @@ BasicNormalizerTest::TestSkippable() {
|
|||
UChar32 start, limit, rangeStart, rangeEnd;
|
||||
int32_t i, range, count;
|
||||
|
||||
UErrorCode errorCode;
|
||||
|
||||
/* build NF*Skippable sets from runtime data */
|
||||
unorm_addPropertyStarts((USet *)&starts);
|
||||
errorCode=U_ZERO_ERROR;
|
||||
unorm_addPropertyStarts((USet *)&starts, &errorCode);
|
||||
if(U_FAILURE(errorCode)) {
|
||||
errln("unable to load normalization data for unorm_addPropertyStarts(() - %s\n", u_errorName(errorCode));
|
||||
return;
|
||||
}
|
||||
count=starts.getRangeCount();
|
||||
|
||||
start=limit=0;
|
||||
|
|
Loading…
Add table
Reference in a new issue