ICU-3938 fix to test err message

X-SVN-Rev: 16419
This commit is contained in:
Steven R. Loomis 2004-10-07 21:32:53 +00:00
parent 23433708ce
commit be8e4abcfe

View file

@ -1312,7 +1312,7 @@ void NumberFormatTest::TestCurrencyPatterns(void) {
UErrorCode ec = U_ZERO_ERROR;
NumberFormat* nf = NumberFormat::createCurrencyInstance(locs[i], ec);
if (U_FAILURE(ec)) {
errln("FAIL: Can't create NumberFormat(%s) - %s", locs[i], u_errorName(ec));
errln("FAIL: Can't create NumberFormat(%s) - %s", locs[i].getName(), u_errorName(ec));
} else {
// Make sure currency formats do not have a variable number
// of fraction digits