458ca8efd195a842f0efb042ec6ac36c37e8ab5f
[platform/upstream/perl.git] / t / uni / title.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 casetest(0, # No extra tests run here,
13         "Titlecase_Mapping",
14         ucfirst                        => sub { ucfirst $_[0] },
15         ucfirst_with_appended_null_arg => sub { my $a = ""; ucfirst ($_[0] . $a) }
16        );