mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-21735 Fixed two old references to UNUM_CURRENCY_CASH, one in a comment, one in a unit-test failure message--
to refer to the now-correct UNUM_CASH_CURRENCY.
This commit is contained in:
parent
7851f708a3
commit
b38a49fc7e
2 changed files with 2 additions and 2 deletions
|
@ -1090,7 +1090,7 @@ typedef enum UNumberFormatAttribute {
|
|||
|
||||
/**
|
||||
* if this attribute is set to 0, it is set to UNUM_CURRENCY_STANDARD purpose,
|
||||
* otherwise it is UNUM_CURRENCY_CASH purpose
|
||||
* otherwise it is UNUM_CASH_CURRENCY purpose
|
||||
* Default: 0 (UNUM_CURRENCY_STANDARD purpose)
|
||||
* @stable ICU 54
|
||||
*/
|
||||
|
|
|
@ -2750,7 +2750,7 @@ static void TestCurrencyUsage(void) {
|
|||
}
|
||||
|
||||
if(unum_getAttribute(unumFmt, UNUM_CURRENCY_USAGE) != UCURR_USAGE_CASH) {
|
||||
log_err("FAIL: currency usage attribute is not UNUM_CURRENCY_CASH\n");
|
||||
log_err("FAIL: currency usage attribute is not UNUM_CASH_CURRENCY\n");
|
||||
}
|
||||
|
||||
for (j=0; j<UPRV_LENGTHOF(DATA); ++j) {
|
||||
|
|
Loading…
Add table
Reference in a new issue