ICU-21679 avoid escape of U+FFFF in a character literal

This commit is contained in:
Markus Scherer 2022-04-29 11:47:44 -07:00
parent 505535813f
commit 07a50207b7

View file

@ -279,7 +279,7 @@ UnicodeSetTest::TestPatterns(void) {
// Throw in a test of complement
set.complement();
UnicodeString exp;
exp.append((UChar)0x0000).append("aeeoouu").append((UChar)(u'z'+1)).append(u'\uFFFF');
exp.append((UChar)0x0000).append("aeeoouu").append((UChar)(u'z'+1)).append((UChar)0xFFFF);
expectPairs(set, exp);
}