ICU-11649 Minor test tweaks.

X-SVN-Rev: 41355
This commit is contained in:
Shane Carr 2018-05-08 04:07:00 +00:00
parent 13b7b40097
commit fe80cdba39

View File

@ -9452,11 +9452,11 @@ void NumberFormatTest::Test11648_ExpDecFormatMalPattern() {
}
void NumberFormatTest::Test11649_DecFmtCurrencies() {
IcuTestErrorCode status(*this, "Test11649_DecFmtCurrencies");
UnicodeString pattern("\\u00a4\\u00a4\\u00a4 0.00");
pattern = pattern.unescape();
UErrorCode status = U_ZERO_ERROR;
DecimalFormat fmt(pattern, status);
UChar USD[] = {0x55, 0x53, 0x44, 0x0};
static const UChar USD[] = u"USD";
fmt.setCurrency(USD);
UnicodeString appendTo;