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