This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make $class->method work when $class is tied
[perl5.git] / t / uni / upper.t
1 BEGIN {
2     chdir 't' if -d 't';
3     @INC = qw(../lib uni .);
4     require "case.pl";
5 }
6
7 is(uc("\x{3B1}\x{345}\x{301}"), "\x{391}\x{301}\x{399}", 'Verify moves YPOGEGRAMMENI');
8
9 casetest( 1,    # extra tests already run
10         "Upper", \%utf8::ToSpecUpper,
11          sub { uc $_[0] },
12          sub { my $a = ""; uc ($_[0] . $a) });