ICU-207 Fixed tests that were checking for fallbacks
X-SVN-Rev: 4201
This commit is contained in:
parent
559a913439
commit
142103f134
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user