mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-3944 text access, fix compiler warning in test
X-SVN-Rev: 18059
This commit is contained in:
parent
f904935fca
commit
80e01d0da1
1 changed files with 1 additions and 3 deletions
|
@ -64,7 +64,6 @@ static void TestAPI(void) {
|
|||
UText utLoc = UTEXT_INITIALIZER;
|
||||
const char * cString = "Hello, World";
|
||||
UChar uString[] = {0x41, 0x42, 0x43, 0};
|
||||
char *utf8String;
|
||||
UText *uta;
|
||||
UText *utb;
|
||||
UChar c;
|
||||
|
@ -76,8 +75,7 @@ static void TestAPI(void) {
|
|||
utb = utext_close(uta);
|
||||
TEST_ASSERT(utb == NULL);
|
||||
|
||||
utf8String = cString;
|
||||
uta = utext_openUTF8(&utLoc, utf8String, -1, &status);
|
||||
uta = utext_openUTF8(&utLoc, cString, -1, &status);
|
||||
TEST_SUCCESS(status);
|
||||
TEST_ASSERT(uta == &utLoc);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue