mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-06 22:15:31 +00:00
ICU-4092 Improve code coverage.
X-SVN-Rev: 16977
This commit is contained in:
parent
1036574f5b
commit
6d6e37483d
1 changed files with 3 additions and 0 deletions
|
@ -257,6 +257,9 @@ TestInvariant() {
|
|||
if(!uprv_isInvariantUString(invariantUChars, -1)) {
|
||||
log_err("uprv_isInvariantUString(invariantUChars) failed\n");
|
||||
}
|
||||
if(!uprv_isInvariantString(invariantChars+strlen(invariantChars), 1)) {
|
||||
log_err("uprv_isInvariantString(\"\\0\") failed\n");
|
||||
}
|
||||
|
||||
for(i=0; i<(sizeof(variantChars)-1); ++i) {
|
||||
if(uprv_isInvariantString(variantChars+i, 1)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue