mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 07:39:16 +00:00
ICU-11739 Replying to Andy code review comments.
X-SVN-Rev: 41449
This commit is contained in:
parent
a9a2e5ff6d
commit
09a8f5609d
1 changed files with 1 additions and 0 deletions
|
@ -8288,6 +8288,7 @@ void NumberFormatTest::Test10727_RoundingZero() {
|
|||
void NumberFormatTest::Test11739_ParseLongCurrency() {
|
||||
IcuTestErrorCode status(*this, "Test11739_ParseLongCurrency");
|
||||
LocalPointer<NumberFormat> nf(NumberFormat::createCurrencyInstance("sr_BA", status));
|
||||
if (status.errDataIfFailureAndReset()) { return; }
|
||||
((DecimalFormat*) nf.getAlias())->applyPattern(u"#,##0.0 ¤¤¤", status);
|
||||
ParsePosition ppos(0);
|
||||
LocalPointer<CurrencyAmount> result(nf->parseCurrency(u"1.500 амерички долар", ppos));
|
||||
|
|
Loading…
Add table
Reference in a new issue