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
@ -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…
Reference in New Issue
Block a user