From: Jarkko Hietaniemi Date: Wed, 13 Feb 2002 01:22:13 +0000 (+0000) Subject: (retracted by #14667) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a0bb191f65e6f0f95c9f301132cb52505fb026a4;p=p5sagit%2Fp5-mst-13.2.git (retracted by #14667) p4raw-id: //depot/perl@14666 --- diff --git a/t/op/lc.t b/t/op/lc.t index 1fbb3e1..387be7d 100644 --- 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?");