This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
t/uni/case.pl: Fix to work on non-ASCII platforms
[perl5.git] / t / uni / title.t
1 BEGIN {
2     chdir 't' if -d 't';
3     require "uni/case.pl";
4 }
5
6 use feature 'unicode_strings';
7
8 casetest(0, # No extra tests run here,
9         "Titlecase_Mapping",
10         ucfirst                        => sub { ucfirst $_[0] },
11         ucfirst_with_appended_null_arg => sub { my $a = ""; ucfirst ($_[0] . $a) }
12        );