mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-21249 Adds #if !UCONFIG_NO_BREAK_ITERATOR to prevent compilation
error (toTitle() not found) when this configuration flag is set.
This commit is contained in:
parent
4bcefe1c4b
commit
215ca37e4b
1 changed files with 2 additions and 1 deletions
|
@ -829,10 +829,11 @@ void StringCaseTest::TestArmenian() {
|
|||
assertEquals("upper root", u"ԵՒ ԵՐԵՒԱՆԻ", UnicodeString(s).toUpper(root));
|
||||
assertEquals("upper hy", u"ԵՎ ԵՐԵՎԱՆԻ", UnicodeString(s).toUpper(hy));
|
||||
assertEquals("upper hyw", u"ԵՒ ԵՐԵՒԱՆԻ", UnicodeString(s).toUpper(hyw));
|
||||
|
||||
#if !UCONFIG_NO_BREAK_ITERATION
|
||||
assertEquals("title root", u"Եւ Երևանի", UnicodeString(s).toTitle(nullptr, root));
|
||||
assertEquals("title hy", u"Եվ Երևանի", UnicodeString(s).toTitle(nullptr, hy));
|
||||
assertEquals("title hyw", u"Եւ Երևանի", UnicodeString(s).toTitle(nullptr, hyw));
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Reference in a new issue