ICU-3699 Wrong test commited. fixed.

X-SVN-Rev: 15345
This commit is contained in:
Vladimir Weinstein 2004-05-17 22:06:14 +00:00
parent 0e38a87556
commit e9f15b4995

View File

@ -4551,7 +4551,7 @@ static void TestMoreBefore(void) {
}
void TestTailorNULL( void ) {
const static char* rule = "&[last tertiary ignorable] <<< '\\u0000'";
const static char* rule = "&a <<< '\\u0000'";
const static char* order[] = { "a", "\\u0000" };
UErrorCode status = U_ZERO_ERROR;
UChar rlz[RULE_BUFFER_LEN] = { 0 };
@ -4565,8 +4565,10 @@ void TestTailorNULL( void ) {
rlen = u_unescape(rule, rlz, RULE_BUFFER_LEN);
coll = ucol_openRules(rlz, rlen, UCOL_DEFAULT, UCOL_DEFAULT,NULL, &status);
res = ucol_strcoll(coll, &a, 1, &null, 1);
if(res != UCOL_LESS) {
log_err("NULL was not tailored properly!\n");
}
ucol_close(coll);
genericRulesStarter(rule, order, sizeof(order)/sizeof(order[0]));
}
#define TEST(x) addTest(root, &x, "tscoll/cmsccoll/" # x)