ICU-2202 allow MessageFormat to have "dumb" getLocale for another release
X-SVN-Rev: 15102
This commit is contained in:
parent
dfd64036c5
commit
3f7159ba11
@ -2824,8 +2824,8 @@ static void TestGetLocale(void) {
|
||||
/* TODO MessageFormat is currently just storing the locale it is given.
|
||||
As a result, it will return whatever it was given, even if the
|
||||
locale is invalid. */
|
||||
test = (_cmpversion("2.8") <= 0) ?
|
||||
/* Here is the weakened test for 2.8: */
|
||||
test = (_cmpversion("3.0") <= 0) ?
|
||||
/* Here is the weakened test for 3.0: */
|
||||
(_loccmp(req, valid) >= 0) :
|
||||
/* Here is what the test line SHOULD be: */
|
||||
(_loccmp(req, valid) > 0);
|
||||
|
Loading…
Reference in New Issue
Block a user