From 142103f1343c3d66c29c31d2318da45188f03901 Mon Sep 17 00:00:00 2001 From: Ram Viswanadha Date: Tue, 20 Mar 2001 23:05:42 +0000 Subject: [PATCH] ICU-207 Fixed tests that were checking for fallbacks X-SVN-Rev: 4201 --- icu4c/source/test/cintltst/crestst.c | 10 +++++----- icu4c/source/test/cintltst/creststn.c | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/icu4c/source/test/cintltst/crestst.c b/icu4c/source/test/cintltst/crestst.c index 66e577af56..10088482fa 100644 --- a/icu4c/source/test/cintltst/crestst.c +++ b/icu4c/source/test/cintltst/crestst.c @@ -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; diff --git a/icu4c/source/test/cintltst/creststn.c b/icu4c/source/test/cintltst/creststn.c index cd983f5c0d..0a7e7a2f53 100644 --- a/icu4c/source/test/cintltst/creststn.c +++ b/icu4c/source/test/cintltst/creststn.c @@ -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;