1 description("This test checks String.localeCompare().");
3 shouldBeTrue('"a".localeCompare("aa") < 0');
4 shouldBeTrue('"a".localeCompare("b") < 0');
6 shouldBeTrue('"a".localeCompare("a") === 0');
7 shouldBeTrue('"a\u0308\u0323".localeCompare("a\u0323\u0308") === 0');
9 shouldBeTrue('"aa".localeCompare("a") > 0');
10 shouldBeTrue('"b".localeCompare("a") > 0');