| description( |
| |
| "This test checks that toLowerCase and toUpperCase handle certain non-trivial cases correctly." |
| |
| ); |
| |
| shouldBe('String("A𐐀").toLowerCase()', '"a𐐨"'); |
| shouldBe('String("a𐐨").toUpperCase()', '"A𐐀"'); |
| shouldBe('String("ΚΟΣΜΟΣ ΚΟΣΜΟΣ").toLowerCase()', '"κοσμος κοσμος"'); |
| shouldBe('String("ß").toUpperCase()', '"SS"'); |
| shouldBe('String("ʼn").toUpperCase()', '"ʼN"'); |
| shouldBe('String("ǰ").toUpperCase()', '"J̌"'); |
| shouldBe('String("ffi").toUpperCase()', '"FFI"'); |
| shouldBe('String("FFI").toLowerCase()', '"ffi"'); |
| shouldBe('String("IJ").toLowerCase()', '"ij"'); |
| |
| successfullyParsed = true; |