summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/tests/unit/test_localeCompare.js
blob: fa98d865e406d1bc5ad5963255d6ae6bb12b0d58 (plain)
1
2
3
4
5
6
function run_test() {
  Assert.ok("C".localeCompare("D") < 0);
  Assert.ok("D".localeCompare("C") > 0);
  Assert.ok("\u010C".localeCompare("D") < 0);
  Assert.ok("D".localeCompare("\u010C") > 0);
}