ICU-4913 Add a test for the result of cross tree aliases.
X-SVN-Rev: 20039
This commit is contained in:
parent
09e3cfac5d
commit
55f0035338
@ -2294,7 +2294,10 @@ static void TestResourceLevelAliasing(void) {
|
||||
}
|
||||
tb = ures_getByKey(aliasB, "testAliasToTree", tb, &status);
|
||||
if(U_FAILURE(status)){
|
||||
log_err("Fetching the resource with key %s failed. Error: %s\n", "testAliasToTree", u_errorName(status));
|
||||
log_err("Fetching the resource with key \"testAliasToTree\" failed. Error: %s\n", u_errorName(status));
|
||||
}
|
||||
if (strcmp(ures_getKey(tb), "collations") != 0) {
|
||||
log_err("ures_getKey(aliasB) unexpectedly returned %s instead of \"collations\"\n", ures_getKey(tb));
|
||||
}
|
||||
cleanup:
|
||||
ures_close(aliasB);
|
||||
|
Loading…
Reference in New Issue
Block a user