This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove workaround for distros needing dot in @INC
[perl5.git] / t / uni / upper.t
1 BEGIN {
2     chdir 't' if -d 't';
3     unless (defined &DynaLoader::boot_DynaLoader) {
4       print("1..0 # miniperl: no Unicode::Normalize");
5       exit(0);
6     }
7     require "./uni/case.pl";
8 }
9
10 use feature 'unicode_strings';
11
12 is(uc("\x{3B1}\x{345}\x{301}"), "\x{391}\x{301}\x{399}",
13                                                    'Verify moves YPOGEGRAMMENI');
14 fresh_perl_is('use 5.026;m.\U00ÿÿ0000.', "", {}, "[perl #133876]  This caused valgrind and asan errors");
15
16 casetest( 2,    # extra tests already run
17         "Uppercase_Mapping",
18          uc                        => sub { uc $_[0] },
19          uc_with_appended_null_arg => sub { my $a = ""; uc ($_[0] . $a) }
20         );