mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-18 11:14:22 +00:00
ICU-10738 CollationAPITest/TestVariableTopSetting use the root collator, fails with en_US_POSIX
X-SVN-Rev: 35382
This commit is contained in:
parent
c9cda28161
commit
dc9edbf4e8
1 changed files with 3 additions and 1 deletions
|
@ -901,7 +901,9 @@ public class CollationAPITest extends TestFmwk {
|
|||
}
|
||||
|
||||
public void TestVariableTopSetting() {
|
||||
RuleBasedCollator coll = (RuleBasedCollator)Collator.getInstance();
|
||||
// Use the root collator, not the default collator.
|
||||
// This test fails with en_US_POSIX which tailors the dollar sign after 'A'.
|
||||
RuleBasedCollator coll = (RuleBasedCollator)Collator.getInstance(ULocale.ROOT);
|
||||
|
||||
int oldVarTop = coll.getVariableTop();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue