ICU-207 Fixed tests that were checking for fallbacks

X-SVN-Rev: 4201
This commit is contained in:
Ram Viswanadha 2001-03-20 23:05:42 +00:00
parent 559a913439
commit 142103f134
2 changed files with 8 additions and 8 deletions

View File

@ -644,11 +644,11 @@ void TestFallback()
status = U_ZERO_ERROR;
/* OK first one. This should be a Default value. */
junk = ures_get(fr_FR, "Version", &status);
junk = ures_get(fr_FR, "%%EURO", &status);
if(status != U_USING_DEFAULT_ERROR)
{
log_err("Expected U_USING_DEFAULT_ERROR when trying to get Version from fr_FR, got %d\n",
status);
log_err("Expected U_USING_DEFAULT_ERROR when trying to get %%EURO from fr_FR, got %s\n",
u_errorName(status));
}
status = U_ZERO_ERROR;
@ -657,8 +657,8 @@ void TestFallback()
junk = ures_get(fr_FR, "ShortLanguage", &status);
if(status != U_USING_FALLBACK_ERROR)
{
log_err("Expected U_USING_FALLBACK_ERROR when trying to get ShortLanguage from fr_FR, got %d\n",
status);
log_err("Expected U_USING_FALLBACK_ERROR when trying to get ShortLanguage from fr_FR, got %s\n",
u_errorName(status));
}
status = U_ZERO_ERROR;

View File

@ -1219,11 +1219,11 @@ static void TestFallback()
status = U_ZERO_ERROR;
/* OK first one. This should be a Default value. */
junk = ures_get(fr_FR, "Version", &status);
junk = ures_get(fr_FR, "%%EURO", &status);
if(status != U_USING_DEFAULT_ERROR)
{
log_err("Expected U_USING_DEFAULT_ERROR when trying to get Version from fr_FR, got %d\n",
status);
log_err("Expected U_USING_DEFAULT_ERROR when trying to get %%EURO from fr_FR, got %s\n",
u_errorName(status));
}
status = U_ZERO_ERROR;