mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-16 18:25:57 +00:00
ICU-4092 Increase code coverage
X-SVN-Rev: 16995
This commit is contained in:
parent
e4462ec8c6
commit
7063b3ce6d
1 changed files with 3 additions and 0 deletions
|
@ -202,6 +202,9 @@ UnicodeStringTest::TestBasicManipulation()
|
|||
if(0!=s.caseCompare(buffer, -1, U_FOLD_CASE_DEFAULT)) {
|
||||
errln("UnicodeString.caseCompare(const UChar *, length, options) does not work with length==-1");
|
||||
}
|
||||
if(0!=s.caseCompare(0, s.length(), buffer, U_FOLD_CASE_DEFAULT)) {
|
||||
errln("UnicodeString.caseCompare(start, _length, const UChar *, options) does not work");
|
||||
}
|
||||
|
||||
buffer[u_strlen(buffer)]=0xe4;
|
||||
UnicodeString u(buffer, -1, LENGTHOF(buffer));
|
||||
|
|
Loading…
Add table
Reference in a new issue