This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
 author Jarkko Hietaniemi Tue, 23 Oct 2001 16:30:00 +0000 (16:30 +0000) committer Jarkko Hietaniemi Tue, 23 Oct 2001 16:30:00 +0000 (16:30 +0000)
p4raw-id: //depot/perl@12606

 t/op/lc.t patch | blob | blame | history

index 4eed2ac..b0d0aa0 100644 (file)
--- a/t/op/lc.t
+++ b/t/op/lc.t
@@ -49,7 +49,7 @@ ok(uc(\$b)         eq "HELLO\.\* WORLD",      'uc');
ok(lc(\$b)         eq "hello\.\* world",      'lc');

# \x{100} is LATIN CAPITAL LETTER A WITH MACRON; its bijective lowercase is
-# \x{100}, LATIN SMALL LETTER A WITH MACRON.
+# \x{101}, LATIN SMALL LETTER A WITH MACRON.

\$a = "\x{100}\x{101}\x{41}\x{61}";
\$b = "\x{101}\x{100}\x{61}\x{41}";
@@ -82,7 +82,7 @@ ok(lc(\$b)         eq "\x{101}\x{101}\x{61}\x{61}",  'lc');
# \x{149} is LATIN SMALL LETTER N PRECEDED BY APOSTROPHE, its uppercase is
# \x{2BC}\x{E4} or MODIFIER LETTER APOSTROPHE and N.

-ok("\U\x{DF}ab\x{149}cd" eq "\x{53}\x{53}AB\x{2BC}\x{4E}CD",
+ok("\U\x{DF}ab\x{149}cd" eq "SSAB\x{2BC}NCD",
"multicharacter uppercase");

# The \x{DF} is its own lowercase, ditto for \x{149}.