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