diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-12-05 16:39:47 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-12-05 16:39:47 +0000 |
commit | 9dc04555a4dee089737beb20cff84a725f3a5696 (patch) | |
tree | da47734a803d73165d2571d6a95a8207debe7e6c /t/pragma | |
parent | fbb63a9e8bf07b6f1dccaccb6b70a9ad58efc968 (diff) | |
download | perl-9dc04555a4dee089737beb20cff84a725f3a5696.tar.gz |
Start migrating bits of pragma/utf8 to elsewhere
(since the long term plan is to obsolete 'use utf8').
p4raw-id: //depot/perl@7995
Diffstat (limited to 't/pragma')
-rwxr-xr-x | t/pragma/utf8.t | 71 |
1 files changed, 1 insertions, 70 deletions
diff --git a/t/pragma/utf8.t b/t/pragma/utf8.t index 60cbd8c97a..3d8693efc0 100755 --- a/t/pragma/utf8.t +++ b/t/pragma/utf8.t @@ -10,7 +10,7 @@ BEGIN { } } -print "1..191\n"; +print "1..181\n"; my $test = 1; @@ -734,72 +734,3 @@ __EOMK__ } } -{ - # tests 182..191 - - { - my $a = "\x{41}"; - - print "not " unless length($a) == 1; - print "ok $test\n"; - $test++; - - use bytes; - print "not " unless $a eq "\x41" && length($a) == 1; - print "ok $test\n"; - $test++; - } - - { - my $a = "\x{80}"; - - print "not " unless length($a) == 1; - print "ok $test\n"; - $test++; - - use bytes; - print "not " unless $a eq "\xc2\x80" && length($a) == 2; - print "ok $test\n"; - $test++; - } - - { - my $a = "\x{100}"; - - print "not " unless length($a) == 1; - print "ok $test\n"; - $test++; - - use bytes; - print "not " unless $a eq "\xc4\x80" && length($a) == 2; - print "ok $test\n"; - $test++; - } - - { - my $a = "\x{100}\x{80}"; - - print "not " unless length($a) == 2; - print "ok $test\n"; - $test++; - - use bytes; - print "not " unless $a eq "\xc4\x80\xc2\x80" && length($a) == 4; - print "ok $test\n"; - $test++; - } - - { - my $a = "\x{80}\x{100}"; - - print "not " unless length($a) == 2; - print "ok $test\n"; - $test++; - - use bytes; - print "not " unless $a eq "\xc2\x80\xc4\x80" && length($a) == 4; - print "ok $test\n"; - $test++; - } -} - |