Skip to content

Commit

Permalink
Revert test plural rule string to ellipsis char, use 16-bit char string
Browse files Browse the repository at this point in the history
  • Loading branch information
echeran committed Sep 2, 2020
1 parent b841b2a commit a18d1db
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions icu4c/source/test/intltest/plurults.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -602,10 +602,10 @@ PluralRulesTest::testCompactDecimalPluralKeyword() {
IcuTestErrorCode errorCode(*this, "testCompactDecimalPluralKeyword");

LocalPointer<PluralRules> rules(PluralRules::createRules(
"one: i = 0,1 @integer 0, 1 @decimal 0.0~1.5; "
"many: e = 0 and i % 1000000 = 0 and v = 0 or e != 0 .. 5; "
"other: @integer 2~17, 100, 1000, 10000, 100000, 1000000, "
" @decimal 2.0~3.5, 10.0, 100.0, 1000.0, 10000.0, 100000.0, 1000000.0, ...", errorCode));
u"one: i = 0,1 @integer 0, 1 @decimal 0.0~1.5; "
u"many: e = 0 and i % 1000000 = 0 and v = 0 or e != 0 .. 5; "
u"other: @integer 2~17, 100, 1000, 10000, 100000, 1000000, "
u" @decimal 2.0~3.5, 10.0, 100.0, 1000.0, 10000.0, 100000.0, 1000000.0, ", errorCode));

if (U_FAILURE(errorCode)) {
errln("Couldn't instantiate plurals rules from string, with error = %s", u_errorName(errorCode));
Expand Down

0 comments on commit a18d1db

Please sign in to comment.