This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
netbsd-vax: customized.dat update for S-L-U
[perl5.git] / t / uni / upper.t
CommitLineData
e49298ea
JH
1BEGIN {
2 chdir 't' if -d 't';
94af2fed
JH
3 unless (defined &DynaLoader::boot_DynaLoader) {
4 print("1..0 # miniperl: no Unicode::Normalize");
5 exit(0);
6 }
d512ebc9 7 require "uni/case.pl";
e49298ea
JH
8}
9
61900f46
KW
10use feature 'unicode_strings';
11
227e818e
KW
12is(uc("\x{3B1}\x{345}\x{301}"), "\x{391}\x{301}\x{399}",
13 'Verify moves YPOGEGRAMMENI');
4c8a458a
KW
14
15casetest( 1, # extra tests already run
2d6d4018 16 "Uppercase_Mapping",
227e818e
KW
17 uc => sub { uc $_[0] },
18 uc_with_appended_null_arg => sub { my $a = ""; uc ($_[0] . $a) }
19 );