(retracted by #14667)
authorJarkko Hietaniemi <jhi@iki.fi>
Wed, 13 Feb 2002 01:22:13 +0000 (01:22 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Wed, 13 Feb 2002 01:22:13 +0000 (01:22 +0000)
p4raw-id: //depot/perl@14666

t/op/lc.t

index 1fbb3e1..387be7d 100644 (file)
--- a/t/op/lc.t
+++ b/t/op/lc.t
@@ -86,10 +86,10 @@ ok(lc($b)         eq "\x{101}\x{101}aa",  'lc');
 # and it's uppercase is \x{178}, LATIN CAPITAL LETTER Y WITH DIAERESIS.
 
 if (ord("A") == 193) { # EBCDIC
-    ok("\U\x{DF}aB\x{149}cD" eq "\x{178}AB\x{2BC}NCD",
+    ok(uc("\x{DF}aB\x{149}cD") eq "\x{178}AB\x{2BC}NCD",
        "multicharacter uppercase");
 } elsif (ord("A") == 65) {
-    ok("\U\x{DF}aB\x{149}cD" eq "SSAB\x{2BC}NCD",
+    ok(uc("\x{DF}aB\x{149}cD") eq "SSAB\x{2BC}NCD",
        "multicharacter uppercase");
 } else {
     ok(0, "what is your encoding?");
@@ -99,10 +99,10 @@ if (ord("A") == 193) { # EBCDIC
 # There are no single character -> multiple characters lowercase mappings.
 
 if (ord("A") == 193) { # EBCDIC
-    ok("\LaB\x{149}cD" eq "ab\x{149}cd",
+    ok(lc("aB\x{149}cD") eq "ab\x{149}cd",
        "multicharacter lowercase");
 } elsif (ord("A") == 65) {
-    ok("\L\x{DF}aB\x{149}cD" eq "\x{DF}ab\x{149}cd",
+    ok(lc("\x{DF}aB\x{149}cD") eq "\x{DF}ab\x{149}cd",
        "multicharacter lowercase");
 } else {
     ok(0, "what is your encoding?");