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:
Rich Gillam 2021-09-08 15:53:34 -07:00
parent 7851f708a3
commit b38a49fc7e
2 changed files with 2 additions and 2 deletions

View file

@ -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
*/

View file

@ -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) {