This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add perldelta entry try/catch deparsing fix - 846e32ebef
[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 }
5051ccfe 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');
56e36cbf 14fresh_perl_is('use 5.026;m.\U00ÿÿ0000.', "", {}, "[perl #133876] This caused valgrind and asan errors");
4c8a458a 15
56e36cbf 16casetest( 2, # extra tests already run
2d6d4018 17 "Uppercase_Mapping",
227e818e
KW
18 uc => sub { uc $_[0] },
19 uc_with_appended_null_arg => sub { my $a = ""; uc ($_[0] . $a) }
20 );