diff --git a/icu4c/source/test/cintltst/capitst.c b/icu4c/source/test/cintltst/capitst.c index 2be08ded2e1..f4685e19da1 100644 --- a/icu4c/source/test/cintltst/capitst.c +++ b/icu4c/source/test/cintltst/capitst.c @@ -277,7 +277,7 @@ void TestProperty() ICU 2.4 currVersionArray = {0x21, 0x40, 0x04, 0x04}; ICU 2.6 currVersionArray = {0x21, 0x40, 0x03, 0x03}; */ - UVersionInfo currVersionArray = {0x21, 0x40, 0x04, 0x04}; + UVersionInfo currVersionArray = {0x21, 0x40, 0x01, 0x04}; UVersionInfo versionArray; log_verbose("The property tests begin : \n"); @@ -368,7 +368,7 @@ void TestProperty() buffer[0] = '\0'; log_verbose("ucol_getRulesEx() testing ...\n"); tempLength = ucol_getRulesEx(col,UCOL_TAILORING_ONLY,buffer,bufLen ); - doAssert( tempLength == 0, "getRulesEx() result incorrect" ); + doAssert( tempLength == 0x0f, "getRulesEx() result incorrect" ); log_verbose("getRules tests end.\n"); log_verbose("ucol_getRulesEx() testing ...\n"); @@ -1113,7 +1113,7 @@ void TestGetLocale() { } testStruct[] = { { "sr_YU", "sr_YU", "ru" }, { "sh_YU", "sh_YU", "sh" }, - { "en_US_CALIFORNIA", "en_US", "root" }, + { "en_US_CALIFORNIA", "en_US", "en" }, { "fr_FR_NONEXISTANT", "fr_FR", "fr" } }; diff --git a/icu4c/source/test/cintltst/encoll.c b/icu4c/source/test/cintltst/encoll.c index 38d5be446fd..aa1e40e56c7 100644 --- a/icu4c/source/test/cintltst/encoll.c +++ b/icu4c/source/test/cintltst/encoll.c @@ -240,9 +240,9 @@ const static UChar testAcute[][MAX_TOKEN_LEN] = { static const UChar testMore[][MAX_TOKEN_LEN] = { {(UChar)0x0061 /* 'a' */, (UChar)0x0065 /* 'e' */, 0}, - {(UChar)0x0061 /* 'a' */, (UChar)0x0066 /* 'f' */, 0}, { 0x00E6, 0}, { 0x00C6, 0}, + {(UChar)0x0061 /* 'a' */, (UChar)0x0066 /* 'f' */, 0}, {(UChar)0x006F /* 'o' */, (UChar)0x0065 /* 'e' */, 0}, { 0x0153, 0}, { 0x0152, 0},