@@ -1826,19 +1826,6 @@ fn to_lowercase() {
1826
1826
assert_eq ! ( "Α'Σ" . to_lowercase( ) , "α'ς" ) ;
1827
1827
assert_eq ! ( "Α''Σ" . to_lowercase( ) , "α''ς" ) ;
1828
1828
1829
- assert_eq ! ( "aΣ" . to_lowercase( ) , "aς" ) ;
1830
- assert_eq ! ( "a'Σ" . to_lowercase( ) , "a'ς" ) ;
1831
- assert_eq ! ( "a''Σ" . to_lowercase( ) , "a''ς" ) ;
1832
-
1833
- assert_eq ! ( "ÄΣ" . to_lowercase( ) , "äς" ) ;
1834
- assert_eq ! ( "ä'Σ" . to_lowercase( ) , "ä'ς" ) ;
1835
- assert_eq ! ( "ä''Σ" . to_lowercase( ) , "ä''ς" ) ;
1836
-
1837
- // input lengths around the boundary of the chunk size used by the ascii prefix optimization
1838
- assert_eq ! ( "abcdefghijklmnoΣ" . to_lowercase( ) , "abcdefghijklmnoς" ) ;
1839
- assert_eq ! ( "abcdefghijklmnopΣ" . to_lowercase( ) , "abcdefghijklmnopς" ) ;
1840
- assert_eq ! ( "abcdefghijklmnopqΣ" . to_lowercase( ) , "abcdefghijklmnopqς" ) ;
1841
-
1842
1829
assert_eq ! ( "ΑΣ Α" . to_lowercase( ) , "ας α" ) ;
1843
1830
assert_eq ! ( "Α'Σ Α" . to_lowercase( ) , "α'ς α" ) ;
1844
1831
assert_eq ! ( "Α''Σ Α" . to_lowercase( ) , "α''ς α" ) ;
@@ -1853,10 +1840,6 @@ fn to_lowercase() {
1853
1840
assert_eq ! ( "Α 'Σ" . to_lowercase( ) , "α 'σ" ) ;
1854
1841
assert_eq ! ( "Α ''Σ" . to_lowercase( ) , "α ''σ" ) ;
1855
1842
1856
- assert_eq ! ( "Ä Σ" . to_lowercase( ) , "ä σ" ) ;
1857
- assert_eq ! ( "Ä 'Σ" . to_lowercase( ) , "ä 'σ" ) ;
1858
- assert_eq ! ( "Ä ''Σ" . to_lowercase( ) , "ä ''σ" ) ;
1859
-
1860
1843
assert_eq ! ( "Σ" . to_lowercase( ) , "σ" ) ;
1861
1844
assert_eq ! ( "'Σ" . to_lowercase( ) , "'σ" ) ;
1862
1845
assert_eq ! ( "''Σ" . to_lowercase( ) , "''σ" ) ;
@@ -1866,7 +1849,10 @@ fn to_lowercase() {
1866
1849
assert_eq ! ( "ΑΣ''Α" . to_lowercase( ) , "ασ''α" ) ;
1867
1850
1868
1851
// https://github.com/rust-lang/rust/issues/124714
1852
+ // input lengths around the boundary of the chunk size used by the ascii prefix optimization
1853
+ assert_eq ! ( "abcdefghijklmnoΣ" . to_lowercase( ) , "abcdefghijklmnoς" ) ;
1869
1854
assert_eq ! ( "abcdefghijklmnopΣ" . to_lowercase( ) , "abcdefghijklmnopς" ) ;
1855
+ assert_eq ! ( "abcdefghijklmnopqΣ" . to_lowercase( ) , "abcdefghijklmnopqς" ) ;
1870
1856
1871
1857
// a really long string that has it's lowercase form
1872
1858
// even longer. this tests that implementations don't assume
0 commit comments